Skip to content

Develop/jwplc device discovery#2

Closed
JW-Control wants to merge 23 commits into
developmentfrom
develop/jwplc-device-discovery
Closed

Develop/jwplc device discovery#2
JW-Control wants to merge 23 commits into
developmentfrom
develop/jwplc-device-discovery

Conversation

@JW-Control

Copy link
Copy Markdown
Owner

No description provided.

Manuele Conti and others added 23 commits March 24, 2026 22:21
Fix a race where the renderer could request system:get-system-info while the Electron BrowserWindow was already being destroyed.

The IPC handler previously called isMaximized() on a stale BrowserWindow reference, which raised "Object has been destroyed" and surfaced as an unhandled promise rejection in development logs.

This change guards the main-process handler with isDestroyed() before reading window state, and wraps the renderer initialization request in try/catch so startup or teardown races do not produce unhandled rejections.
…ndow-teardown

Guard system info requests during window teardown
@JW-Control JW-Control closed this Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants