mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-06 01:49:18 +00:00
sound/pipewire: stop threadloop before destroying context
During release(), the threadloop has to be stopped before the context is destroyed, otherwise the threadloop continues to execute thus ending in crashes due to SIGABRT or SIGSEGV. Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
This commit is contained in:
parent
f965cb5843
commit
f34f7b9869
@ -503,6 +503,7 @@ impl AudioBackend for PwBackend {
|
||||
stream_hash.remove(&stream_id);
|
||||
stream_listener.remove(&stream_id);
|
||||
lock_guard.unlock();
|
||||
self.thread_loop.stop();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user