mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-30 02:21:17 -05:00
Avoid the 3-second 'afterlife' of instances by using kill (pid, 0) instead of checking the file lock. We trade pid for lock races, but this seems more reliable. Also add flatpak_installation_launch_full that returns a FlatpakInstance for the launched app, and lets us avoid races around killing the app, by using a child watch. Closes: #2221 Approved by: matthiasclasen