From 385b3fa50ce2dd299645eda768c08c8beb6905ec Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Wed, 12 Jan 2022 16:32:12 +0100 Subject: process_manager: mark started apps as running Without this change, we don't properly keep track of running apps, and end up starting multiple instances of those. Bug-AGL: SPEC-4160 Signed-off-by: Arnaud Ferraris Change-Id: I070264f5d12c1c84a520537612518ab2837507d7 --- src/process_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/process_manager.c b/src/process_manager.c index 023894a..ad3ea33 100644 --- a/src/process_manager.c +++ b/src/process_manager.c @@ -212,6 +212,7 @@ gboolean process_manager_start_app(ProcessManager *self, self); self->process_data = g_list_append(self->process_data, runtime_data); app_info_set_runtime_data(app_info, runtime_data); + app_info_set_status(app_info, APP_STATUS_RUNNING); g_signal_emit(self, signals[STARTED], 0, app_id); -- cgit 1.2.3-korg