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 c2e85a0 commit 3d238a0Copy full SHA for 3d238a0
lib/net.js
@@ -798,9 +798,9 @@ Socket.prototype.destroySoon = function() {
798
799
if (this.writable) this.end();
800
801
- if (this.writableFinished) {
+ if (this.writableFinished)
802
this.destroy();
803
- } else {
+ else {
804
this.destroyingOnFinish = true;
805
this.once('finish', () => {
806
this.destroyingOnFinish = false;
0 commit comments