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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user