diff options
author | David Robillard <d@drobilla.net> | 2010-02-09 19:08:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-09 19:08:35 +0000 |
commit | ed7ea1eb71d1cc4f68e31cd4815c6cbc04fd7818 (patch) | |
tree | fe2b5646dc0755ff7947cb9167e3d135a16a800f /src/engine/events/LoadPlugins.cpp | |
parent | ece287591afab6a1b8b944c0cab675a9f08ba97e (diff) | |
download | ingen-ed7ea1eb71d1cc4f68e31cd4815c6cbc04fd7818.tar.gz ingen-ed7ea1eb71d1cc4f68e31cd4815c6cbc04fd7818.tar.bz2 ingen-ed7ea1eb71d1cc4f68e31cd4815c6cbc04fd7818.zip |
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
Diffstat (limited to 'src/engine/events/LoadPlugins.cpp')
-rw-r--r-- | src/engine/events/LoadPlugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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> request, SampleCount timestamp) - : QueuedEvent(engine, request, timestamp, true) + : QueuedEvent(engine, request, timestamp, bool(request)) { } |