Update ThreadPool.cpp

This commit is contained in:
alexey-milovidov 2020-09-21 20:49:15 +03:00 committed by GitHub
parent 30f96dc525
commit 10d3a1d730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ void ThreadPoolImpl<Thread>::worker(typename std::list<Thread>::iterator thread_
std::is_same_v<Thread, std::thread> ? CurrentMetrics::GlobalThreadActive : CurrentMetrics::LocalThreadActive);
job();
job = Job();
job = {};
}
catch (...)
{