diff --git a/src/drivers/win/memview.cpp b/src/drivers/win/memview.cpp index b7bf2ef9..e576dfa3 100644 --- a/src/drivers/win/memview.cpp +++ b/src/drivers/win/memview.cpp @@ -1670,7 +1670,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa return 0; } - case WM_DESTROY : + case WM_CLOSE: KillMemView(); //ReleaseDC (hwnd, mDC) ; //DestroyWindow(hMemView);