summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_gettextasync.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-22 14:57:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-22 14:57:50 +0000
commitc650e1e172dd9131dfcb17948113935d805c0dfb (patch)
treebf41aa11a434407715f40e50e0a4050d421f8781 /plugins/Clist_modern/src/modern_gettextasync.cpp
parentbdf88550d1e2807a9c719259385917ba3d0dd91e (diff)
trying to catch hung thread in clist_modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@11582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_gettextasync.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_gettextasync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_gettextasync.cpp b/plugins/Clist_modern/src/modern_gettextasync.cpp
index 82f90e95fa..9e0d957baa 100644
--- a/plugins/Clist_modern/src/modern_gettextasync.cpp
+++ b/plugins/Clist_modern/src/modern_gettextasync.cpp
@@ -71,7 +71,6 @@ static void gtaThreadProc(void*)
{
Netlib_Logf(NULL, "GTA thread start");
- thread_catcher lck(g_hGetTextAsyncThread);
SHORTDATA data = { 0 };
while (!MirandaExiting()) {
@@ -118,6 +117,7 @@ static void gtaThreadProc(void*)
LBL_Exit:
CloseHandle(hgtaWakeupEvent);
hgtaWakeupEvent = NULL;
+ g_hGetTextAsyncThread = NULL;
Netlib_Logf(NULL, "GTA thread end");
}