diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-19 20:53:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-19 20:53:40 +0000 |
commit | cf9da90f48c5d8b415c449eb42434d4843610c5d (patch) | |
tree | f512c19242a6c3fff8494fa0b3c8f4ac4a253c3a /src | |
parent | c57feab63e9b3a3f087fa1bfee21be635d28ada8 (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.cpp | 2 |
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();
|