mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
core: when we uninstall a job, add unit to dbus queue
Commit e6d05912cb
added unit to dbus
queue on job install. Do same on job uninstall to make sure we get
PropertiesChanged signal.
This commit is contained in:
parent
ac8956efa2
commit
52c6c9eaec
@ -151,6 +151,8 @@ void job_uninstall(Job *j) {
|
||||
|
||||
unit_add_to_gc_queue(j->unit);
|
||||
|
||||
unit_add_to_dbus_queue(j->unit); /* The Job property of the unit has changed now */
|
||||
|
||||
hashmap_remove_value(j->manager->jobs, UINT32_TO_PTR(j->id), j);
|
||||
j->installed = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user