Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

Commit 62cb04f

Browse files
authored
Fix error panic: send on closed channel (#548)
* Set channel = nil instead of closing * Do not set channel to nil
1 parent 7c8fbf6 commit 62cb04f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/node/biz/server.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ func (s *BizServer) Signal(stream biz.Biz_SignalServer) error {
126126
r = nil
127127
}
128128

129-
close(errCh)
130-
close(repCh)
131-
close(reqCh)
132129
log.Infof("BizServer.Signal loop done")
133130
}()
134131

0 commit comments

Comments
 (0)