summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/wumfplug.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-22 14:35:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-22 14:35:27 +0000
commitbdf88550d1e2807a9c719259385917ba3d0dd91e (patch)
tree81f29fadd86ae85e0bee1427b3c43081d4b903ae /plugins/WhoUsesMyFiles/src/wumfplug.cpp
parent29f62500c6b297dae647c75d62fdb0b9f9c7de85 (diff)
WUMF to use the kernel logger instead of reinventing the wheel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11581 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/wumfplug.cpp')
-rw-r--r--plugins/WhoUsesMyFiles/src/wumfplug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
index f2daa8b25f..7febec32e0 100644
--- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp
+++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp
@@ -530,7 +530,8 @@ extern "C" __declspec(dllexport) int Load(void)
extern "C" __declspec(dllexport) int Unload(void)
{
KillTimer(NULL, 777);
- CloseHandle(hLog);
+ if (hLogger)
+ mir_closeLog(hLogger);
FreeAll();
return 0;
}