From fa6dd95a060a0f0db5e235ee7d98ce712a71d804 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 7 Jun 2026 00:27:04 -0400 Subject: [PATCH] fix(gui_2): remove stale _t-based print in App.run The leftover print(f'[startup] RunnerParams() init: ...') referenced _t which was deleted when the block was converted to a with startup_profiler.phase() context. Would have raised NameError on the full native GUI path. Replaced with a comment; the phase() above already logs the same info. --- src/gui_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui_2.py b/src/gui_2.py index 945d3039..593330c4 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -439,7 +439,7 @@ class App: with startup_profiler.phase("RunnerParams_init"): self.runner_params = _hi.RunnerParams() self.runner_params.app_window_params.window_title = "manual slop" - print(f"[startup] RunnerParams() init: {(time.time()-_t)*1000:.1f}ms", file=sys.stderr) + # (removed stale _t-based print; the phase() above already logs RunnerParams_init) if sys.platform == "win32": self.runner_params.app_window_params.borderless = True