| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d79d142 commit 17319e7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -685,7 +685,7 @@ Socket.prototype._writeGeneric = function(writev, data, encoding, cb) { | |||
| 685 | 685 | this._pendingEncoding = ''; | |
| 686 | 686 | ||
| 687 | 687 | if (!this._handle) { | |
| 688 | - this.destroy(new ERR_SOCKET_CLOSED(), cb); | ||
| 688 | + cb(new ERR_SOCKET_CLOSED()); | ||
| 689 | 689 | return false; | |
| 690 | 690 | } | |
| 691 | 691 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments