src/vs/platform/terminal/node/ptyService.ts/XtermSerializer/freeRawReviveBuffer
class XtermSerializer:	freeRawReviveBuffer(): void {
		// Free the memory of the terminal if it will need to be re-serialized
		this._rawReviveBuffer = undefined;
	}