upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/process.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-26 02:26:55 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-26 02:26:55 -0500
commit10adc5c6854d7c1a1708010f8f6cf75017052e2d (patch)
treef9628d580d96061dce86bcd53361374b6af91a06 /runtime/shims/process.cpp
parent5ba3e05f234622420deb11ba0d1ddb9fe3e0a790 (diff)
app_state: keep the title's suspend routines and run them when it ends
Port VIctory's lifecycle.rs (GPL-3.0-or-later): RegisterAppStateChangeNotification / UnregisterAppStateChangeNotification from the psm-appnotify sets keep the title's routines (the host's are for packaged apps and never call them), and closing the title's window now suspends it as the console ends a title: the routines run with Quiesced = TRUE on a thread of their own, and the process ends when they return or after a second. Before, the window's close ended the process at once, with no chance to save. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions