diff --git a/plugins/vst_base/RemoteVstPlugin.cpp b/plugins/vst_base/RemoteVstPlugin.cpp index 5c7f807c9..ef85fbd48 100644 --- a/plugins/vst_base/RemoteVstPlugin.cpp +++ b/plugins/vst_base/RemoteVstPlugin.cpp @@ -427,6 +427,7 @@ RemoteVstPlugin::~RemoteVstPlugin() m_window = NULL; } pluginDispatch( effMainsChanged, 0, 0 ); + pluginDispatch( effClose ); #ifndef USE_QT_SHMEM // detach shared memory segment if( shmdt( m_vstSyncData ) == -1)