Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ce5df7d

Browse files
authoredJun 21, 2025··
fix(socketServer): use clearTimeout instead of clearInterval (#5461)
1 parent e5be46c commit ce5df7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core/src/server/socketServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class SocketServer {
8585

8686
private clearHeartbeatTimer(): void {
8787
if (this.heartbeatTimer) {
88-
clearInterval(this.heartbeatTimer);
88+
clearTimeout(this.heartbeatTimer);
8989
this.heartbeatTimer = null;
9090
}
9191
}

1 commit comments

Comments
 (1)

github-actions[bot] commented on Jun 21, 2025

@github-actions[bot]
Contributor

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
rspress ✅ success
plugins ✅ success
rslib ✅ success
examples ✅ success
Please sign in to comment.