Investigate whether direct-hs has a thread-leak on some case: Threads spawned by withChannel function can be left alive until the process exits when they exit with an error.
If such thread-leak can actually happen, add a thread to kill such "zombie" threads.
Investigate whether direct-hs has a thread-leak on some case: Threads spawned by
withChannel
function can be left alive until the process exits when they exit with an error. If such thread-leak can actually happen, add a thread to kill such "zombie" threads.