mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-31 19:45:41 +00:00
Inserting a new stream into stream_hash can potentially move out of context a stream previously stored in the hash with the same id, triggering pw::stream::Stream::Drop, which calls pw_stream_destroy. As calls to the pipewire library must happen either in the pipewire thread or under thread_loop lock protection, move the insert into stream_hash under the latter. Signed-off-by: Sergio Lopez <slp@redhat.com> |
||
|---|---|---|
| .. | ||
| gpio | ||
| i2c | ||
| rng | ||
| sound | ||
| vsock | ||