diff --git a/mixer/src/Mixer_Strip.C b/mixer/src/Mixer_Strip.C index 56a2e5f..e777729 100644 --- a/mixer/src/Mixer_Strip.C +++ b/mixer/src/Mixer_Strip.C @@ -326,7 +326,9 @@ Mixer_Strip::handle_module_added ( Module *m ) void Mixer_Strip::handle_module_removed ( Module *m ) { - if ( spatialization_controller->control_output[0].connected_port()->module() == m ) + + if ( spatialization_controller->control_output[0].connected() && + spatialization_controller->control_output[0].connected_port()->module() == m ) { spatialization_controller->hide(); DMESSAGE( "Module \"%s\" disconnected from spatialization controller", m->name() );