Update threadPoolCallbackRunner.h

This commit is contained in:
Sema Checherinda 2023-03-01 18:39:48 +01:00 committed by GitHub
parent c59220274b
commit 242552b019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ ThreadPoolCallbackRunner<Result, Callback> threadPoolCallbackRunner(ThreadPool &
/// Releasing has to use proper memory tracker which has been set here before callback
[[maybe_unused]] auto tmp = std::move(callback);
thread_name.clear();
}
if (thread_group)