Private
Public Access
0
0

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.
This commit is contained in:
2026-06-07 00:27:04 -04:00
parent 95adc273f2
commit fa6dd95a06
+1 -1
View File
@@ -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