Browse Source
Close the regWait channel before setting it to nil in reconnect(), matching the pattern used in handleDisconnect(). This ensures any goroutines waiting on this channel during reconnection are properly signaled, preventing them from hanging.pull/7838/head
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue