When using ThreadPool.QueueUserWorkItem
with a method that throws an exception, the entire application crashes and exits unexpectedly. This behavior is not documented and can lead to unintended application terminations.
#2
Job | Run time |
---|---|
4s | |
4s |