diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/fst/vstwin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 3a1f624934..ba3187684b 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -374,6 +374,9 @@ fst_exit (void) int fst_run_editor (VSTState* fst, void* window_parent) { + /* For safety, remove any pre-existing editor window */ + fst_destroy_editor (fst); + if (fst->windows_window == NULL) { HMODULE hInst; HWND window; |