Skip to content

Commit

Permalink
rdp shell: fix overactive assert at launch_desktop_shell_process (#139)
Browse files Browse the repository at this point in the history
Co-authored-by: Hideyuki Nagase <hideyukn@HIDEYUKN-SB3>
  • Loading branch information
hideyukn88 and Hideyuki Nagase authored Mar 8, 2023
1 parent b4f672d commit 28553ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rdprail-shell/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 28553ce

Please sign in to comment.