mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
ThreadPool: don't silently ignore non-std exceptions
Introduced in 8f6b347abd
without explanation.
Throwing anything that's not that is a programming mistake that we don't want
to ignore silently. A crash would be ok, because that means we/they can fix
the offending throw.
This commit is contained in:
parent
16320f6d24
commit
fd8a4a86d9
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ void ThreadPool::doWork(bool mainThread)
|
|||
// Similarly expected.
|
||||
} catch (std::exception & e) {
|
||||
ignoreExceptionExceptInterrupt();
|
||||
} catch (...) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue