summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_gettextasync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_gettextasync.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_gettextasync.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_gettextasync.cpp b/plugins/Clist_modern/src/modern_gettextasync.cpp
index 43738f5246..71e81c05ed 100644
--- a/plugins/Clist_modern/src/modern_gettextasync.cpp
+++ b/plugins/Clist_modern/src/modern_gettextasync.cpp
@@ -161,7 +161,8 @@ void gtaRenewText(MCONTACT hContact)
void gtaShutdown()
{
- SetEvent(hgtaWakeupEvent);
+ if (hgtaWakeupEvent)
+ SetEvent(hgtaWakeupEvent);
}
void InitCacheAsync()