From 7617b247683777d15f0ac088147b8d90a0f60135 Mon Sep 17 00:00:00 2001 From: Hideyuki Nagase Date: Wed, 8 Mar 2023 14:35:57 -0800 Subject: [PATCH] rdp shell: fix overactive assert at launch_desktop_shell_process --- rdprail-shell/shell.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rdprail-shell/shell.c b/rdprail-shell/shell.c index 694f5a461..0f843c5cc 100644 --- a/rdprail-shell/shell.c +++ b/rdprail-shell/shell.c @@ -4138,7 +4138,10 @@ launch_desktop_shell_process(void *data) { struct desktop_shell *shell = data; - assert(!shell->child.client); + /* check if it's already running */ + if (shell->child.client) + return; + shell->child.client = weston_client_start(shell->compositor, shell->client);