diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-29 16:37:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-29 16:37:08 +0000 |
commit | 67f2d89c164c7adccdee065da1caac319d528b50 (patch) | |
tree | 96d5d1d87776a9fa48fd8fea33312d35aa6b1d77 /src/core | |
parent | c1840425166576b1cf187076a9344a78a20375b6 (diff) |
- yet another crash fix on exit;
- events speed-up
- quick ICQ exit
git-svn-id: http://svn.miranda-ng.org/main/trunk@687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/miranda.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp index 64ec124378..2e0759c04d 100644 --- a/src/core/miranda.cpp +++ b/src/core/miranda.cpp @@ -83,7 +83,7 @@ HANDLE hShutdownEvent, hPreShutdownEvent; static HANDLE hWaitObjects[MAXIMUM_WAIT_OBJECTS-1];
static char *pszWaitServices[MAXIMUM_WAIT_OBJECTS-1];
static int waitObjectCount = 0;
-HANDLE hMirandaShutdown, hThreadQueueEmpty;
+HANDLE hMirandaShutdown;
HINSTANCE hInst;
int hLangpack = 0;
@@ -350,7 +350,6 @@ exit: UnloadNewPluginsModule();
UnloadCoreModule();
CloseHandle(hMirandaShutdown);
- CloseHandle(hThreadQueueEmpty);
if (pTaskbarInterface)
pTaskbarInterface->Release();
@@ -446,7 +445,6 @@ static INT_PTR RemoveWait(WPARAM wParam, LPARAM) int LoadSystemModule(void)
{
hMirandaShutdown = CreateEvent(NULL, TRUE, FALSE, NULL);
- hThreadQueueEmpty = CreateEvent(NULL, TRUE, TRUE, NULL);
hShutdownEvent = CreateHookableEvent(ME_SYSTEM_SHUTDOWN);
hPreShutdownEvent = CreateHookableEvent(ME_SYSTEM_PRESHUTDOWN);
|