From 1ada99b405a8a91524cabbdcdd07466079c89c4a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 5 Oct 2019 19:36:30 +0200 Subject: Fix crash on Windows when file-browser is open and plugin window is closed. --- plugingui/nativewindow_win32.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 12d430f..1ac1115 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -432,6 +432,7 @@ NativeWindowWin32::~NativeWindowWin32() { RemoveWindowSubclass(parent_window, subClassProc, 42); } + DestroyWindow(m_hwnd); UnregisterClass(m_className, GetModuleHandle(nullptr)); free(m_className); } -- cgit v1.2.3