manually destroy response now

This commit is contained in:
snwy
2024-11-21 19:23:51 -08:00
parent cbf4cd9a46
commit e63cc09bc6

View File

@@ -1666,6 +1666,7 @@ class ClientRequest extends OutgoingMessage {
})
.finally(() => {
this.#fetchRequest = null;
this.#res.destroy();
this[kClearTimeout]();
emitCloseNT(this);
});