Loading src/core/module/ModuleManager.cpp +2 −5 Original line number Diff line number Diff line Loading @@ -1019,10 +1019,7 @@ void ModuleManager::finalize() { * All modules in the event loop continue to finish the current event */ void ModuleManager::terminate() { if(!terminate_) { terminate_ = true; if(thread_pool_) { if(!terminate_.exchange(true) && thread_pool_) { thread_pool_->destroy(); } } } Loading
src/core/module/ModuleManager.cpp +2 −5 Original line number Diff line number Diff line Loading @@ -1019,10 +1019,7 @@ void ModuleManager::finalize() { * All modules in the event loop continue to finish the current event */ void ModuleManager::terminate() { if(!terminate_) { terminate_ = true; if(thread_pool_) { if(!terminate_.exchange(true) && thread_pool_) { thread_pool_->destroy(); } } }