Revert "core: do not spawn jobs or touch other units during coldplugging"
This reverts commit 6e392c9c45.
We really shouldn't invent external state keeping hashmaps, if we can
keep this state in the units themselves.
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ static int target_load(Unit *u) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int target_coldplug(Unit *u, Hashmap *deferred_work) {
|
||||
static int target_coldplug(Unit *u) {
|
||||
Target *t = TARGET(u);
|
||||
|
||||
assert(t);
|
||||
|
||||
Reference in New Issue
Block a user