diff options
author | David Robillard <d@drobilla.net> | 2016-10-14 21:47:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-14 21:47:07 -0400 |
commit | c7c64abd524911ee8bf3e2be9d8aec38b1b4d18a (patch) | |
tree | 29891519954fdfe681bb11d3a566c89fcd52f31c /src/server/events/DisconnectAll.cpp | |
parent | 4b04a51fc7a7dbd1ea62f81691d4ef923278fb1d (diff) | |
download | ingen-c7c64abd524911ee8bf3e2be9d8aec38b1b4d18a.tar.gz ingen-c7c64abd524911ee8bf3e2be9d8aec38b1b4d18a.tar.bz2 ingen-c7c64abd524911ee8bf3e2be9d8aec38b1b4d18a.zip |
Fix potential store deadlock
Diffstat (limited to 'src/server/events/DisconnectAll.cpp')
-rw-r--r-- | src/server/events/DisconnectAll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index 2dea6a76..8ce14e74 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -84,7 +84,7 @@ DisconnectAll::~DisconnectAll() bool DisconnectAll::pre_process(PreProcessContext& ctx) { - std::unique_lock<std::mutex> lock(_engine.store()->mutex(), std::defer_lock); + std::unique_lock<Store::Mutex> lock(_engine.store()->mutex(), std::defer_lock); if (!_deleting) { lock.lock(); |