From 20592a568e326ea4211b39779c73f6612adef395 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 29 Dec 2018 20:38:55 +0300 Subject: we don't need to close that handle --- plugins/Exchange/src/utils.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins') 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; } -- cgit v1.2.3