提交 27a3b61f 编写于 作者: 丁劲犇's avatar 丁劲犇 😸

terminate thread in win-10

上级 477c1669
......@@ -22,7 +22,9 @@ void stdout_watcher::stop_and_wait()
m_bStop = true;
fprintf (stdout,"Bye!\n");
fprintf (stderr,"Bye!\n");
wait();
for (int i=0;i<10;++i)
wait(200);
this->terminate();
}
#ifdef Q_OS_WINDOWS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册