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:
Robert Hensing 2024-10-10 13:09:12 +02:00
parent 16320f6d24
commit fd8a4a86d9

View File

@ -119,7 +119,6 @@ void ThreadPool::doWork(bool mainThread)
// Similarly expected. // Similarly expected.
} catch (std::exception & e) { } catch (std::exception & e) {
ignoreExceptionExceptInterrupt(); ignoreExceptionExceptInterrupt();
} catch (...) {
} }
} }
} }