diff --git a/progress.js b/progress.js index c1d25ba..6540f39 100644 --- a/progress.js +++ b/progress.js @@ -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) {