summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange/src/utils.cpp')
-rw-r--r--plugins/Exchange/src/utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Exchange/src/utils.cpp b/plugins/Exchange/src/utils.cpp
index d133aab166..8874775373 100644
--- a/plugins/Exchange/src/utils.cpp
+++ b/plugins/Exchange/src/utils.cpp
@@ -214,9 +214,7 @@ void __cdecl CheckEmailWorkerThread(void *data)
int ThreadCheckEmail(int bForceAttempt)
{
- HANDLE hCheckThread = mir_forkthread(CheckEmailWorkerThread, (void *)bForceAttempt);
- CloseHandle(hCheckThread);
-
+ mir_forkthread(CheckEmailWorkerThread, (void *)bForceAttempt);
return 0;
}