mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
core/unit: try to submit stop_when_unneeded queue on removing dependencies
Fixes #23410.
This commit is contained in:
@@ -5165,6 +5165,9 @@ void unit_remove_dependencies(Unit *u, UnitDependencyMask mask) {
|
||||
|
||||
unit_add_to_gc_queue(other);
|
||||
|
||||
/* The unit 'other' may not be wanted by the unit 'u'. */
|
||||
unit_submit_to_stop_when_unneeded_queue(other);
|
||||
|
||||
done = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user