We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b6c6e2 commit acb85e7Copy full SHA for acb85e7
src/client.ts
@@ -267,9 +267,9 @@ export class RedisClient {
267
this.#connection = null;
268
this.#writeLock = Promise.resolve();
269
270
- await connection.socket.close();
271
- await connection.writer.abort(err);
272
await connection.reader.cancel(err);
+ await connection.writer.abort(err);
+ await connection.socket.close();
273
}
274
275
public async closeSubscriptions() {
0 commit comments