| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -149,6 +149,7 @@ class JSStreamSocket extends Socket { | |||
| 149 | 149 | } | |
| 150 | 150 | ||
| 151 | 151 | const handle = this._handle; | |
| 152 | + assert(handle !== null); | ||
| 152 | 153 | ||
| 153 | 154 | process.nextTick(() => { | |
| 154 | 155 | // Ensure that write is dispatched asynchronously. | |
@@ -181,6 +182,8 @@ class JSStreamSocket extends Socket { | |||
| 181 | 182 | } | |
| 182 | 183 | ||
| 183 | 184 | const handle = this._handle; | |
| 185 | + assert(handle !== null); | ||
| 186 | + | ||
| 184 | 187 | const self = this; | |
| 185 | 188 | ||
| 186 | 189 | let pending = bufs.length; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments