diff options
author | George Hazan <ghazan@miranda.im> | 2018-12-29 20:38:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-12-29 20:39:03 +0300 |
commit | 20592a568e326ea4211b39779c73f6612adef395 (patch) | |
tree | a293dd1a004f58c866d09f8879426bc6270377e7 | |
parent | b2eaa2f1d902acccc554e8910eb8928852c5b25d (diff) |
we don't need to close that handle
-rw-r--r-- | plugins/Exchange/src/utils.cpp | 4 |
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;
}
|