jd4 icon indicating copy to clipboard operation
jd4 copied to clipboard

main_task/other_task pattern still incorrect

Open iceboy233 opened this issue 8 years ago • 2 comments

if other_task throws an exception, but the parent coroutine is waiting for main_task, it deadlocks.

iceboy233 avatar Apr 11 '17 04:04 iceboy233

this has caused an out of service now...

iceboy233 avatar Nov 28 '17 23:11 iceboy233

main_task was introduced so that even if others_task fails, we still wait for the program to complete; however we need to kill the main program in such cases.

iceboy233 avatar Nov 28 '17 23:11 iceboy233