Commit d674a68
committed
src: fix platform shutdown deadlock
Each worker is signalling its own completion of tasks independently
and so should only be signalling for one corresponding drain otherwise
the count of outstanding tasks goes out of sync and the process will
never stop waiting for tasks when it should be exiting.
It just needs to be calling Signal rather than Broadcast.1 parent 304bb9c commit d674a68
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| |||
0 commit comments