diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-15 19:07:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-15 19:07:01 +0300 |
commit | 7cd2b67ef130a3c60192133d946a22e47cbeec6c (patch) | |
tree | e2adc01d5d517f7d5ebc48e62754652c93b76e8b /src/mir_app | |
parent | b225a055f5d3abc754899d115582f39cc2168f3f (diff) |
fixes #747 (crash in options during SRMM plugin unload)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp index d3f765f522..1e918e3dde 100644 --- a/src/mir_app/src/options.cpp +++ b/src/mir_app/src/options.cpp @@ -226,9 +226,7 @@ struct OptionsPageData : public MZeroedObject ~OptionsPageData()
{
- // if a dialog has window, it will be killed by WM_CLOSE event
- if (pDialog && !pDialog->GetHwnd())
- delete pDialog;
+ delete pDialog;
}
CDlgBase *pDialog;
|