mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
sculpt: don't mark in-construction pkgs as present
This patch excludes the current "Construction" from the list of "present" components in the runtime. Without the patch, a missing "wm" would go unmissing once when the routing dialog of a new wm instance appears. Now an already present window layouter that had a broken route would prematurely re-appear in the config, which should not happen because the new wm does not exist yet.
This commit is contained in:
parent
1cc3472e1d
commit
c41fbe9ea5
@ -216,7 +216,7 @@ class Sculpt::Runtime_state : public Runtime_info
|
||||
result = true; });
|
||||
|
||||
_launched_children.for_each([&] (Launched_child const &child) {
|
||||
if (!result && child.name == name)
|
||||
if (!result && child.name == name && child.launched)
|
||||
result = true; });
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user