summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r--plugins/Toaster/src/main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index 66db53929e..007391119b 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -61,11 +61,6 @@ extern "C" int __declspec(dllexport) Unload(void)
int OnPreShutdown(WPARAM, LPARAM)
{
- mir_cslock lck(csNotifications);
- for (int i = 0; i < lstNotifications.getCount(); i++)
- lstNotifications[i].Hide();
-
- lstNotifications.destroy();
-
+ HideAllToasts();
return 0;
} \ No newline at end of file