Closed erikd closed 1 year ago
The forkIO function silently swallows a number of important exceptions (like ThreadKilled) so replace it with Control.Concurrent.Async.race and report which thread exited.
forkIO
ThreadKilled
Control.Concurrent.Async.race
The
forkIO
function silently swallows a number of important exceptions (likeThreadKilled
) so replace it withControl.Concurrent.Async.race
and report which thread exited.