From 28553ce729a1a4aeef3b1b9c08be45d66f132702 Mon Sep 17 00:00:00 2001 From: Hideyuki Nagase Date: Wed, 8 Mar 2023 15:32:13 -0800 Subject: [PATCH] rdp shell: fix overactive assert at launch_desktop_shell_process (#139) Co-authored-by: Hideyuki Nagase --- 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);