Skip to content

Commit bbf5c90

Browse files
committed
x
1 parent 922c428 commit bbf5c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zrpc/internal/rpcpubserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ type keepAliveServer struct {
5353

5454
func (s keepAliveServer) Start(fn RegisterFn) error {
5555
chErr := make(chan error)
56-
defer close(chErr)
5756

5857
go func() {
58+
defer close(chErr)
5959
chErr <- s.Server.Start(fn)
6060
}()
6161

0 commit comments

Comments
 (0)