fix pong timeout
This commit is contained in:
@@ -276,7 +276,7 @@ export class WebsocketClient extends EventEmitter {
|
||||
private clearPongTimer(wsKey: string) {
|
||||
const wsState = this.wsStore.get(wsKey);
|
||||
if (wsState?.activePongTimer) {
|
||||
clearInterval(wsState.activePongTimer);
|
||||
clearTimeout(wsState.activePongTimer);
|
||||
wsState.activePongTimer = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user