From 2e110d02aef6e36698edb7c7db8542db481de2e0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Sep 2011 06:22:07 +0000 Subject: Fix event throughput for non-creating set events. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3493 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/SetMetadata.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp index efa57198..bef968fc 100644 --- a/src/server/events/SetMetadata.cpp +++ b/src/server/events/SetMetadata.cpp @@ -257,6 +257,10 @@ SetMetadata::pre_process() _types.push_back(op); } + if (!_create_event) { + _lock.release(); + } + QueuedEvent::pre_process(); } @@ -378,7 +382,9 @@ SetMetadata::post_process() break; } - _lock.release(); + if (_create_event) { + _lock.release(); + } } } // namespace Server -- cgit v1.2.1