-
Simon McVittie authored
Similar to AppLaunchData in the previous commit, passing around objects is better than passing around their IDs and re-querying them. In particular, in launch_mgr_kill_the_current_running_application() it proves that a code path that we suspected was wrong is in fact unreachable, which is good to know; remove that code path. This required making check_if_application_killed_from_OOM() a bit more const-correct, so fix that too. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: André Magalhães <andre.magalhaes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5644
2395c83f