parent
45398fb65c
commit
f9a2da3426
|
@ -782,6 +782,7 @@ vstfx_launch_editor (VSTState* vstfx)
|
||||||
void
|
void
|
||||||
vstfx_destroy_editor (VSTState* vstfx)
|
vstfx_destroy_editor (VSTState* vstfx)
|
||||||
{
|
{
|
||||||
|
assert (!gui_quit);
|
||||||
pthread_mutex_lock (&vstfx->lock);
|
pthread_mutex_lock (&vstfx->lock);
|
||||||
if (vstfx->linux_window) {
|
if (vstfx->linux_window) {
|
||||||
vstfx->destroy = TRUE;
|
vstfx->destroy = TRUE;
|
||||||
|
|
|
@ -42,6 +42,7 @@ LXVSTPluginUI::LXVSTPluginUI (boost::shared_ptr<PlugInsertBase> pib, boost::shar
|
||||||
LXVSTPluginUI::~LXVSTPluginUI ()
|
LXVSTPluginUI::~LXVSTPluginUI ()
|
||||||
{
|
{
|
||||||
_resize_connection.disconnect();
|
_resize_connection.disconnect();
|
||||||
|
vstfx_destroy_editor (_vst->state ());
|
||||||
|
|
||||||
// plugin destructor destroys the custom GUI, via the vstfx engine,
|
// plugin destructor destroys the custom GUI, via the vstfx engine,
|
||||||
// and then our PluginUIWindow does the rest
|
// and then our PluginUIWindow does the rest
|
||||||
|
|
Loading…
Reference in New Issue