summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-19 20:53:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-19 20:53:40 +0000
commitcf9da90f48c5d8b415c449eb42434d4843610c5d (patch)
treef512c19242a6c3fff8494fa0b3c8f4ac4a253c3a /src
parentc57feab63e9b3a3f087fa1bfee21be635d28ada8 (diff)
miranda hangs up when one of the standard modules is missing
git-svn-id: http://svn.miranda-ng.org/main/trunk@3645 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/core/miranda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp
index 4bb1678ecc..4af88f95a6 100644
--- a/src/core/miranda.cpp
+++ b/src/core/miranda.cpp
@@ -301,6 +301,8 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int)
int result = 0;
if ( LoadDefaultModules()) {
+ SetEvent(hMirandaShutdown);
+ NotifyEventHooks(hPreShutdownEvent, 0, 0);
NotifyEventHooks(hShutdownEvent, 0, 0);
UnloadDefaultModules();