From 99034f294331209fbfa1d5efacf7fb25f88e227d Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 29 Dec 2015 18:02:18 +0000 Subject: Toaster: forgotten cslocks git-svn-id: http://svn.miranda-ng.org/main/trunk@15966 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/services.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Toaster/src/services.cpp') diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp index 100a2387cf..9342af8672 100644 --- a/plugins/Toaster/src/services.cpp +++ b/plugins/Toaster/src/services.cpp @@ -243,6 +243,7 @@ static INT_PTR ShowMessage(WPARAM wParam, LPARAM lParam) static INT_PTR HideToast(WPARAM, LPARAM lParam) { ToastNotification* pNotification = reinterpret_cast(lParam); + mir_cslock lck(csNotifications); if (lstNotifications.getIndex(pNotification) != -1) lstNotifications.remove(pNotification); return 0; -- cgit v1.2.3