summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DestroyEvent.cpp
diff options
context:
space:
mode:
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 == "/")