Skip to content

sessions - disable background throttling#298985

Merged
bpasero merged 3 commits intomainfrom
ben/lonely-flea
Mar 3, 2026
Merged

sessions - disable background throttling#298985
bpasero merged 3 commits intomainfrom
ben/lonely-flea

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Mar 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 15:46
@bpasero bpasero enabled auto-merge (squash) March 3, 2026 15:46
@bpasero bpasero self-assigned this Mar 3, 2026
@vs-code-engineering vs-code-engineering bot added this to the March 2026 milestone Mar 3, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Electron window creation in the Windows platform layer to disable Chromium background throttling when running as an embedded “sessions” sub-app, ensuring the renderer continues to run without being deprioritized when the window is backgrounded.

Changes:

  • Add backgroundThrottling: false to the BrowserWindow webPreferences when process.isEmbeddedApp is true.
  • Extend the platform import to reference INodeProcess for the embedded-app check.

@bpasero bpasero merged commit 55250cd into main Mar 3, 2026
20 checks passed
@bpasero bpasero deleted the ben/lonely-flea branch March 3, 2026 16:35
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