mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
reorder close statement
This commit is contained in:
parent
ad2fa66e91
commit
9b3bf9ac3a
1 changed files with 1 additions and 1 deletions
|
|
@ -153,8 +153,8 @@ func (s *resubscribeSub) Err() <-chan error {
|
|||
}
|
||||
|
||||
func (s *resubscribeSub) loop() {
|
||||
var done bool
|
||||
defer close(s.err)
|
||||
var done bool
|
||||
for !done {
|
||||
sub := s.subscribe()
|
||||
if sub == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue