diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 06:55:19 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 06:55:19 +0000 |
commit | 87dd1548f9212c0721d37d511588b79783f55b69 (patch) | |
tree | f541e0281ae281f76db0aaedd9d4b875eba968ff /plugins/Ping/src/ping.cpp | |
parent | cf45ff050dad2570c3172e111d739a3ae11a9ec1 (diff) |
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/ping.cpp')
-rw-r--r-- | plugins/Ping/src/ping.cpp | 10 |
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);
|