diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-26 19:09:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-26 19:09:40 +0300 |
commit | 4da9b39a6219cecfe5486d392e94648cd84d5f30 (patch) | |
tree | a255326f38c509e1024425d4874092e08bebe97f | |
parent | 45373ed8b8906f1a7e715b8c830f91fc1b46649a (diff) |
crash fix
-rw-r--r-- | protocols/EmLanProto/src/mlan.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |