diff options
Diffstat (limited to 'src/server/events/Delete.cpp')
-rw-r--r-- | src/server/events/Delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp index 12c9a3f1..0d202f84 100644 --- a/src/server/events/Delete.cpp +++ b/src/server/events/Delete.cpp @@ -84,7 +84,7 @@ Delete::pre_process() } // Take a writer lock while we modify the store - std::unique_lock<std::mutex> lock(_engine.store()->mutex()); + std::lock_guard<std::mutex> lock(_engine.store()->mutex()); _engine.store()->remove(iter, _removed_objects); |