Commit 079e8a4
committed
go/worker/storage/committee: Fix worker teardown
Previously the fetch pool was closed first, which caused doneCh
to never be closed, which cause wg.Wait to never finish.
Probably a better approach is to fix workerpool.Pool.1 parent 4aca077 commit 079e8a4
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
765 | 773 | | |
766 | 774 | | |
767 | 775 | | |
| |||
1033 | 1041 | | |
1034 | 1042 | | |
1035 | 1043 | | |
1036 | | - | |
| 1044 | + | |
1037 | 1045 | | |
1038 | | - | |
1039 | 1046 | | |
1040 | 1047 | | |
1041 | 1048 | | |
| |||
0 commit comments