fix: macos, prevent automatic termination during memory pressure

Disable macOS Automatic Termination to prevent the server/client from
being killed during memory pressure events. Adds NSSupportsAutomaticTermination
to Info.plist and programmatically disables termination in the Cocoa app.

Fixes #7329

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
John Weldon
2025-12-31 14:33:41 -07:00
committed by Chris Rizzitello
parent 61fcad2c14
commit 8d52facc0b

View File

@ -31,7 +31,9 @@
<key>NSHumanReadableCopyright</key>
<string>@BUNDLE_COPYRIGHT@</string>
<!-- Don't Allow Os to kill for memory -->
<!-- Prevent macOS from terminating during memory pressure -->
<key>NSSupportsAutomaticTermination</key>
<false/>
<key>NSSupportsSuddenTermination</key>
<false/>