fix(goolom): remove premature onReconnect callback invocation

This commit is contained in:
zarazaex69
2026-05-26 01:05:31 +03:00
parent 743dc5c1bf
commit 4fce5773f8

View File

@@ -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