| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8743ef5 commit 974cec7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1218,6 +1218,8 @@ OutgoingMessage.prototype._flushOutput = function _flushOutput(socket) { | |||
| 1218 | 1218 | // Refs: https://github.com/nodejs/node/pull/30958 | |
| 1219 | 1219 | for (let i = 0; i < outputLength; i++) { | |
| 1220 | 1220 | const { data, encoding, callback } = outputData[i]; | |
| 1221 | + // Avoid any potential ref to Buffer in new generation from old generation | ||
| 1222 | + outputData[i].data = null; | ||
| 1221 | 1223 | ret = socket.write(data, encoding, callback); | |
| 1222 | 1224 | } | |
| 1223 | 1225 | socket.uncork(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments