Merge pull request #36 from slp/pipewire-fix-thread_loop

sound/pipewire: move stream_hash insert into lock
This commit is contained in:
Matias Ezequiel Vara Larsen 2023-09-28 14:12:03 +02:00 committed by GitHub
commit cbc80bee22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,10 +385,10 @@ impl AudioBackend for PwBackend {
)
.expect("could not connect to the stream");
lock_guard.unlock();
// insert created stream in a hash table
stream_hash.insert(stream_id, stream);
lock_guard.unlock();
}
Ok(())