From cf9da90f48c5d8b415c449eb42434d4843610c5d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Feb 2013 20:53:40 +0000 Subject: 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 --- src/core/miranda.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') 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(); -- cgit v1.2.3