Files
kryon/scripts
waozi 22cd4f40bf kry_instance: own SIGTERM/SIGINT + robust lock stealing
SDL latches SIGTERM into an event that a busy frame loop may never
observe, leaving an unkillable process holding the single-instance
lock (every later launch then gets rejected with no window). The lock
owner now installs its own SIGTERM/SIGINT handler that drops the lock
(close+unlink are async-signal-safe) and exits immediately.

Also: widen the steal budget to 3.5 s, escalate once to SIGKILL
guarded by a /proc/<pid>/comm same-application check so a recycled
pid never takes the hit, and add KryonReleaseInstanceLock() for apps
whose shutdown path is slow — krait calls it right after its main
loop ends, before cleanup.
2026-09-03 18:47:10 -03:00
..
2026-08-31 10:44:13 -03:00
2026-08-31 10:44:13 -03:00
2026-08-31 12:13:33 -03:00
2026-07-27 08:52:02 -03:00