mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 22:25:19 +07:00
manager: don't garbage collect jobs when isolating, to change global state
This commit is contained in:
parent
222ae6a8d7
commit
a8049b7a7c
@ -1273,6 +1273,7 @@ static int transaction_activate(Manager *m, JobMode mode, DBusError *e) {
|
||||
for (;;) {
|
||||
/* Fourth step: Let's remove unneeded jobs that might
|
||||
* be lurking. */
|
||||
if (mode != JOB_ISOLATE)
|
||||
transaction_collect_garbage(m);
|
||||
|
||||
/* Fifth step: verify order makes sense and correct
|
||||
@ -1303,6 +1304,7 @@ static int transaction_activate(Manager *m, JobMode mode, DBusError *e) {
|
||||
|
||||
/* Seventh step: an entry got dropped, let's garbage
|
||||
* collect its dependencies. */
|
||||
if (mode != JOB_ISOLATE)
|
||||
transaction_collect_garbage(m);
|
||||
|
||||
/* Let's see if the resulting transaction still has
|
||||
|
Loading…
Reference in New Issue
Block a user