fix(inspector): do not start recording by default (#34276)

This commit is contained in:
Yury Semikhatsky 2025-01-09 14:58:41 -08:00 committed by GitHub
parent cd9d02faf9
commit 37c2569eb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ export class ContextRecorder extends EventEmitter {
this._listeners.push(eventsHelper.addEventListener(process, 'exit', () => { this._listeners.push(eventsHelper.addEventListener(process, 'exit', () => {
this._throttledOutputFile?.flush(); this._throttledOutputFile?.flush();
})); }));
this.setEnabled(true); this.setEnabled(params.mode === 'recording');
} }
setOutput(codegenId: string, outputFile?: string) { setOutput(codegenId: string, outputFile?: string) {