diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-12 11:11:31 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-12 11:11:31 +0000 |
commit | ea29a3d7e39e364627a875a3aff1d18cc54b0e15 (patch) | |
tree | 24adfde2248b88721d04816656a493a89f1f04ab /plugins/Toaster | |
parent | 32371d614e689579e9f8fd017ad122cdbc3442e6 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@15333 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster')
-rw-r--r-- | plugins/Toaster/src/toast_event_handler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Toaster/src/toast_event_handler.cpp b/plugins/Toaster/src/toast_event_handler.cpp index 81fd2aae1d..305ca120f7 100644 --- a/plugins/Toaster/src/toast_event_handler.cpp +++ b/plugins/Toaster/src/toast_event_handler.cpp @@ -15,7 +15,8 @@ ToastEventHandler::ToastEventHandler(_In_ ToastHandlerData *pData) : _ref(1), _t ToastEventHandler::~ToastEventHandler()
{
- _thd->pPopupProc((HWND)this, UM_FREEPLUGINDATA, 0, 0);
+ if (_thd->pPopupProc)
+ _thd->pPopupProc((HWND)this, UM_FREEPLUGINDATA, 0, 0);
mir_cslock lck(csNotifications);
lstNotifications.remove(_thd->tstNotification);
|