1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00
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 { try {
std::rethrow_exception(exc); std::rethrow_exception(exc);
} catch (const Interrupted &) { } 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 // workers, which is expected, so we should ignore
// it silently and let the first one bubble up, // it silently and let the first one bubble up,
// rethrown via the original state->exception. // rethrown via the original state->exception.