diff options
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 2 | ||||
-rw-r--r-- | src/libs/engine/events/DestroyEvent.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index e6003d90..0be82819 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -75,7 +75,7 @@ LADSPANode::instantiate() Port* port = NULL; for (size_t j=0; j < _descriptor->PortCount; ++j) { - port_name = _descriptor->PortNames[j]; + port_name = Path::nameify(_descriptor->PortNames[j]); string::size_type slash_index; // Name mangling, to guarantee port names are unique 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 == "/") |