()
| 137 | this._body = val |
| 138 | |
| 139 | const cleanupPreviousStream = () => { |
| 140 | if (original && isStream(original)) { |
| 141 | original.once(class="st">'error', () => {}) |
| 142 | class="cm">// Only destroy if the new value is not a stream |
| 143 | if (!isStream(val)) { |
| 144 | destroy(original) |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | class="cm">// no content |
| 150 |