From edec4c2ef0de9df5f335152ed143d45f2f8e1c55 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 28 Nov 2023 16:39:30 -0500 Subject: close thread pool + parallel CasImpl::Initialize (#576) * close thread pool at destruction * parallell casimpl::initialize --- src/zencore/workthreadpool.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/zencore/workthreadpool.cpp') 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 Work) -- cgit v1.2.3