summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DestroyEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-06 19:05:23 +0000
committerDavid Robillard <d@drobilla.net>2006-09-06 19:05:23 +0000
commitdac2461ba66560c00efb43a12e35394a698b60f7 (patch)
treeaff258db86692a028d544045b8a26e2df4b78a19 /src/libs/engine/events/DestroyEvent.cpp
parent32672ca258231aea42c8868357b55ac46397084f (diff)
downloadingen-dac2461ba66560c00efb43a12e35394a698b60f7.tar.gz
ingen-dac2461ba66560c00efb43a12e35394a698b60f7.tar.bz2
ingen-dac2461ba66560c00efb43a12e35394a698b60f7.zip
Fixed LADSPA plugins with invalid OSC path port names (eg containing spaces).
Fixed node destruction. git-svn-id: http://svn.drobilla.net/lad/ingen@114 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DestroyEvent.cpp')
-rw-r--r--src/libs/engine/events/DestroyEvent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp
index d373389b..d55a2935 100644
--- a/src/libs/engine/events/DestroyEvent.cpp
+++ b/src/libs/engine/events/DestroyEvent.cpp
@@ -138,8 +138,8 @@ DestroyEvent::execute(SampleCount offset)
void
DestroyEvent::post_process()
{
- assert(_source);
- _source->unblock();
+ if (_source)
+ _source->unblock();
if (m_node == NULL) {
if (m_path == "/")