Handle NameOwnerChanged dbus event

This commit is contained in:
Jason DeRose
2020-01-25 22:00:34 -05:00
parent bf213af4c2
commit dd795a7ae2

View File

@@ -139,11 +139,11 @@ var ProgressManager = Utils.defineClass({
let [name, before, after] = parameters.deep_unpack();
// if (!after) {
// if (this._entriesByDBusName.hasOwnProperty(before)) {
// this.removeEntry(this._entriesByDBusName[before]);
// }
// }
if (!after) {
if (this._entriesByDBusName.hasOwnProperty(before)) {
this.removeEntry(this._entriesByDBusName[before]);
}
}
},
_handleUpdateRequest: function(senderName, parameters) {