summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/ping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/ping.cpp')
-rw-r--r--plugins/Ping/src/ping.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp
index d63cbcbe9c..9b07356ed1 100644
--- a/plugins/Ping/src/ping.cpp
+++ b/plugins/Ping/src/ping.cpp
@@ -137,11 +137,6 @@ extern "C" __declspec(dllexport) int Load(void)
DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0 );
hWakeEvent = CreateEvent(NULL, FALSE, FALSE, _T("Local\\ThreadWaitEvent"));
- InitializeCriticalSection(&list_cs);
- InitializeCriticalSection(&thread_finished_cs);
- InitializeCriticalSection(&list_changed_cs);
- InitializeCriticalSection(&data_list_cs);
-
// create services before loading options - so we can have the 'getlogfilename' service!
CreatePluginServices();
@@ -167,11 +162,6 @@ extern "C" __declspec(dllexport) int Unload(void)
{
SavePingList(0, 0);
- DeleteCriticalSection(&list_cs);
- DeleteCriticalSection(&thread_finished_cs);
- DeleteCriticalSection(&list_changed_cs);
- DeleteCriticalSection(&data_list_cs);
-
CloseHandle( mainThread );
if(options.logging) CallService(PLUG "/Log", (WPARAM)_T("stop"), 0);