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/Copy.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/Copy.cpp')
-rw-r--r-- | src/server/events/Copy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 30ffb43d..4356e312 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -51,7 +51,7 @@ Copy::Copy(Engine& engine, bool Copy::pre_process(PreProcessContext& ctx) { - std::lock_guard<std::mutex> lock(_engine.store()->mutex()); + std::lock_guard<Store::Mutex> lock(_engine.store()->mutex()); if (Node::uri_is_path(_old_uri)) { // Old URI is a path within the engine |