diff --git a/packages/server/js/response.js b/packages/server/js/response.js index 7dec364..c9981fd 100644 --- a/packages/server/js/response.js +++ b/packages/server/js/response.js @@ -269,11 +269,9 @@ class Response extends Writable { this.cork(() => { this.writeHead() this.connection.end(data) - super.destroy() }) - } else { - super.destroy() } + super.destroy() } send (data) {