mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-05-31 17:39:44 +00:00
fix(goolom): remove premature onReconnect callback invocation
This commit is contained in:
@@ -322,10 +322,6 @@ func (s *Session) reconnect(ctx context.Context) error {
|
||||
s.wsMu.Unlock()
|
||||
}
|
||||
|
||||
if s.onReconnect != nil {
|
||||
s.onReconnect(nil)
|
||||
}
|
||||
|
||||
time.Sleep(3 * time.Second)
|
||||
if s.refresh == nil {
|
||||
return ErrNoRefresh
|
||||
|
||||
Reference in New Issue
Block a user