fix(coding-agent): print benchmark timings after TUI stop (#6030)

closes #6029
This commit is contained in:
Alexey Zaytsev
2026-06-24 02:53:40 -05:00
committed by GitHub
parent ec6311beb5
commit 6338661485
+1 -1
View File
@@ -810,9 +810,9 @@ export async function main(args: string[], options?: MainOptions) {
if (startupBenchmark) {
await interactiveMode.init();
time("interactiveMode.init");
printTimings();
interactiveMode.stop();
stopThemeWatcher();
printTimings();
if (process.stdout.writableLength > 0) {
await new Promise<void>((resolve) => process.stdout.once("drain", resolve));
}