提交 009cbb34 编写于 作者: S Simon Fels

Don't stop SDL event processing thread when it is not running

上级 2f849059
......@@ -73,8 +73,10 @@ PlatformPolicy::PlatformPolicy(
}
PlatformPolicy::~PlatformPolicy() {
event_thread_running_ = false;
event_thread_.join();
if (event_thread_running_) {
event_thread_running_ = false;
event_thread_.join();
}
}
void PlatformPolicy::process_events() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册