From 4da9b39a6219cecfe5486d392e94648cd84d5f30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Dec 2017 19:09:40 +0300 Subject: crash fix --- protocols/EmLanProto/src/mlan.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/EmLanProto/src/mlan.cpp') diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index 14005a3294..107effffdb 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -420,21 +420,21 @@ int CMLan::SendMessageUrl(CCSDATA* ccs, bool isUrl) ((char*)ccs->lParam)[len] = 0; hold->msg[len] = 0; } - CloseHandle(mir_forkthread(LaunchExt, (void*)hold)); + mir_forkthread(LaunchExt, (void*)hold); return cid; } int CMLan::Search(const char* name) { int cid = GetRandomProcId(); - CloseHandle(mir_forkthread(LaunchExt, (void*)new TDataHolder(name, cid, LEXT_SEARCH, this))); + mir_forkthread(LaunchExt, (void*)new TDataHolder(name, cid, LEXT_SEARCH, this)); return cid; } int CMLan::GetAwayMsg(CCSDATA* ccs) { int cid = GetRandomProcId(); - CloseHandle(mir_forkthread(LaunchExt, (void*)new TDataHolder(ccs, cid, LEXT_GETAWAYMSG, this))); + mir_forkthread(LaunchExt, (void*)new TDataHolder(ccs, cid, LEXT_GETAWAYMSG, this)); return cid; } -- cgit v1.2.3