RemoteVstPlugin: really close the plugin

(cherry picked from commit d50d376b2a)
This commit is contained in:
Hannu Haahti
2014-04-19 13:32:48 +03:00
committed by Tobias Doerffel
parent ad3884c8f3
commit b8476b742e

View File

@@ -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)