diff options
Diffstat (limited to 'src/server/events/Get.cpp')
-rw-r--r-- | src/server/events/Get.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp index bec57104..b018c1a9 100644 --- a/src/server/events/Get.cpp +++ b/src/server/events/Get.cpp @@ -48,7 +48,7 @@ Get::Get(Engine& engine, bool Get::pre_process() { - std::unique_lock<std::mutex> lock(_engine.store()->mutex()); + std::lock_guard<std::mutex> lock(_engine.store()->mutex()); if (_uri == "ingen:/plugins") { _plugins = _engine.block_factory()->plugins(); |