diff options
Diffstat (limited to 'src/server/events/Disconnect.cpp')
-rw-r--r-- | src/server/events/Disconnect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 9d1b18a3..ed9312d5 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -114,7 +114,7 @@ Disconnect::Impl::Impl(Engine& e, bool Disconnect::pre_process() { - std::unique_lock<std::mutex> lock(_engine.store()->mutex()); + std::lock_guard<std::mutex> lock(_engine.store()->mutex()); if (_tail_path.parent().parent() != _head_path.parent().parent() && _tail_path.parent() != _head_path.parent().parent() |