Files
flatpak/tests
Sebastian Wick 21f413f17f flatpak-instance: Make constructing failable
If we created an instance and we failed to get the PID of the instance,
we would still succeed. If one later calls flatpak_instance_is_running
or uses the result of flatpak_instance_get_pid with kill, it's possible
to terminate the entire process group (kill 0).

Let's just error out as early as possible to avoid those weird
half-initialized cases.

That unfortunately means we have to adjust a bunch of callers as well,
but fortunately, this only affects internal API.
2026-07-27 13:41:00 +00:00
..
2022-10-24 16:12:14 +01:00
2026-01-21 17:58:19 +00:00
2026-01-21 17:58:19 +00:00
2016-02-25 19:03:09 +01:00
2022-10-24 16:12:14 +01:00
2026-01-21 17:58:19 +00:00
2020-03-20 15:37:10 +01:00
2026-01-21 17:58:19 +00:00
2024-02-13 08:20:57 -06:00