(callback: (error?: Error | null) => void)
| 164 | } |
| 165 | |
| 166 | override async _final(callback: (error?: Error | null) => void) { |
| 167 | // Stream might be destroyed after the connection was closed. |
| 168 | const error = await this._channel.close().catch(e => e); |
| 169 | callback(error || null); |
| 170 | } |
| 171 | } |