diff --git a/gtk2_ardour/linux_vst_gui_support.cc b/gtk2_ardour/linux_vst_gui_support.cc index c321071c57..f2d287c2ea 100644 --- a/gtk2_ardour/linux_vst_gui_support.cc +++ b/gtk2_ardour/linux_vst_gui_support.cc @@ -783,7 +783,7 @@ vstfx_launch_editor (VSTState* vstfx) void vstfx_destroy_editor (VSTState* vstfx) { - assert (!gui_quit); + assert (0 == gui_state); pthread_mutex_lock (&vstfx->lock); if (vstfx->linux_window) { vstfx->destroy = TRUE;