diff options
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-rw-r--r-- | plugins/YAMN/src/main.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 16cbee69d9..b5cbb99264 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -290,10 +290,6 @@ extern "C" int __declspec(dllexport) Load(void) pd.type = PROTOTYPE_VIRTUAL; Proto_RegisterModule(&pd); - InitializeCriticalSection(&AccountStatusCS); - InitializeCriticalSection(&FileWritingCS); - InitializeCriticalSection(&PluginRegCS); - if (NULL == (NoWriterEV = CreateEvent(NULL, TRUE, TRUE, NULL))) return 1; if (NULL == (WriteToFileEV = CreateEvent(NULL, FALSE, FALSE, NULL))) @@ -384,13 +380,6 @@ extern "C" int __declspec(dllexport) Unload(void) CloseHandle(WriteToFileEV); CloseHandle(ExitEV); - DeleteCriticalSection(&AccountStatusCS); - DeleteCriticalSection(&FileWritingCS); - DeleteCriticalSection(&PluginRegCS); - - UnhookEvents(); - DestroyServiceFunctions(); - UnloadPlugins(); delete [] CodePageNamesSupp; |