aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-08 09:39:02 -0800
committerChris Robinson <[email protected]>2022-02-08 09:39:02 -0800
commit843cff0537ca07446ab01421ffc7aa6181414502 (patch)
tree73d8c96794879f9ea8abe717e0d5f105ca6c3b15 /alc/context.cpp
parent370f8623929f6c4cd245ac79b8569f1be53e6c51 (diff)
Hold mPropLock when deferring updates
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 290c4f01..ea806d95 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -249,7 +249,6 @@ bool ALCcontext::deinit()
void ALCcontext::processUpdates()
{
- std::lock_guard<std::mutex> _{mPropLock};
if(mDeferUpdates.exchange(false, std::memory_order_acq_rel))
{
/* Tell the mixer to stop applying updates, then wait for any active