reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 907b4f74fba10ee128618e1e4d5636116b44c8ab
parent 402b552694fb78208d09fc88c3a65cb020d6efd4
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Fri,  3 Mar 2023 10:51:44 -0500

fix a crash sometimes occuring when closing the obsolete package removal prompt on macOS [p=2617421][#65]

Fixes #65

Diffstat:
Msrc/dialog.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/dialog.cpp b/src/dialog.cpp @@ -80,6 +80,8 @@ WDL_DLGRET Dialog::Proc(HWND handle, UINT msg, WPARAM wParam, LPARAM lParam) #endif case WM_DESTROY: dlg->onClose(); + // Disabling processing after the dialog instance has been destroyed + SetWindowLongPtr(handle, GWLP_USERDATA, 0); return 0; default: return 0;