From ed7ea1eb71d1cc4f68e31cd4815c6cbc04fd7818 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 9 Feb 2010 19:08:35 +0000 Subject: Fix bugs with child blocking events. e.g. CreatePortEvent as a child of SetMetadataEvent would doubly unblock the EventSource, so future blocking events wouldn't actually block and crash bugs and/or patch corruption could result. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2435 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/LoadPlugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/events/LoadPlugins.cpp') diff --git a/src/engine/events/LoadPlugins.cpp b/src/engine/events/LoadPlugins.cpp index d8a1175d..6fdc67db 100644 --- a/src/engine/events/LoadPlugins.cpp +++ b/src/engine/events/LoadPlugins.cpp @@ -26,7 +26,7 @@ namespace Events { LoadPlugins::LoadPlugins(Engine& engine, SharedPtr request, SampleCount timestamp) - : QueuedEvent(engine, request, timestamp, true) + : QueuedEvent(engine, request, timestamp, bool(request)) { } -- cgit v1.2.1