mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-01 21:48:00 +00:00
fix(startup): gate renderer IPC on document load (#37)
- Issue #37: Windows 1.4.0 exited with STATUS_STACK_OVERFLOW before showing the main window. - Gate lazy entrypoint imports, Zustand persistence, logger initialization, and console forwarding until WebView2 document load. - Preserve the native Ready reveal and pending-window restore lifecycle across platforms. - Show a closeable startup error if the main entrypoint cannot load. Fixes #37.
This commit is contained in:
@@ -19903,7 +19903,6 @@ pub fn run() {
|
||||
mark_main_window_startup_complete(app_handle);
|
||||
#[cfg(target_os = "windows")]
|
||||
reveal_main_window(app_handle);
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
restore_pending_main_window(app_handle);
|
||||
}
|
||||
#[cfg(target_os = "macos")]
|
||||
|
||||
Reference in New Issue
Block a user