Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@filipecabaco
Copy link
Member

What kind of change does this PR introduce?

stop push timers on disconnect

// remove open handles
this.heartbeatTimer && clearInterval(this.heartbeatTimer)
this.reconnectTimer.reset()
this.flushSendBuffer()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thinking if this is the right thing to do, shouldn't just clear this.sendBuffer when disconnecting? Do we want to send them even when disconnecting?

@filipecabaco filipecabaco merged commit b4c4d0c into next May 13, 2025
3 checks passed
@filipecabaco filipecabaco deleted the fix/stop-push-timers-on-disconnect branch May 13, 2025 08:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants