Skip to content

Commit 36dbd1e

Browse files
fixes redis#2524
1 parent 79b0df8 commit 36dbd1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client/lib/client/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ export default class RedisClient<
683683

684684
QUIT(): Promise<string> {
685685
return this.#socket.quit(async () => {
686+
if (this.#pingTimer) clearTimeout(this.#pingTimer);
686687
const quitPromise = this.#queue.addCommand<string>(['QUIT']);
687688
this.#tick();
688689
const [reply] = await Promise.all([

0 commit comments

Comments
 (0)