Skip to content

Commit

Permalink
Merge pull request #428 from celestiaorg/jbowen93/no-close
Browse files Browse the repository at this point in the history
Do not close channel after subscription cancellation
  • Loading branch information
tzdybal authored Jul 5, 2022
2 parents bfa0fa4 + 2df6392 commit d1fe08d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rpc/json/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ func (s *service) Subscribe(req *http.Request, args *SubscribeArgs, wsConn *wsCo
}
s.logger.Error("subscription was cancelled", "reason", reason)
}
if wsConn != nil {
close(wsConn.queue)
}
return
}
}
Expand Down

0 comments on commit d1fe08d

Please sign in to comment.