Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
This commit is contained in:
Robert Hensing 2024-10-16 19:40:45 +02:00 committed by GitHub
parent fd8a4a86d9
commit ed184f0b61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,7 @@ void ThreadPool::doWork(bool mainThread)
try {
std::rethrow_exception(exc);
} catch (const Interrupted &) {
// The interrupted state may be picked up multiple
// The interrupted state may be picked up by multiple
// workers, which is expected, so we should ignore
// it silently and let the first one bubble up,
// rethrown via the original state->exception.