aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/workthreadpool.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-11-28 16:39:30 -0500
committerGitHub <[email protected]>2023-11-28 22:39:30 +0100
commitedec4c2ef0de9df5f335152ed143d45f2f8e1c55 (patch)
tree18c026ad0582eb317000041f362d44dd7ff4dfe3 /src/zencore/workthreadpool.cpp
parentmoved LuaConfig code so it can be used outside of config.cpp (#575) (diff)
downloadzen-edec4c2ef0de9df5f335152ed143d45f2f8e1c55.tar.xz
zen-edec4c2ef0de9df5f335152ed143d45f2f8e1c55.zip
close thread pool + parallel CasImpl::Initialize (#576)
* close thread pool at destruction * parallell casimpl::initialize
Diffstat (limited to 'src/zencore/workthreadpool.cpp')
-rw-r--r--src/zencore/workthreadpool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/workthreadpool.cpp b/src/zencore/workthreadpool.cpp
index bdb9de9dc..e6a6b5c54 100644
--- a/src/zencore/workthreadpool.cpp
+++ b/src/zencore/workthreadpool.cpp
@@ -74,6 +74,7 @@ struct WorkerThreadPool::Impl
{
WaitForThreadpoolWorkCallbacks(m_Work, /* CancelPendingCallbacks */ TRUE);
CloseThreadpoolWork(m_Work);
+ CloseThreadpool(m_ThreadPool);
}
void ScheduleWork(Ref<IWork> Work)