diff --git a/js/ui/background.js b/js/ui/background.js index 1c2b83bae..3ea7900e7 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -289,6 +289,8 @@ var Background = new Lang.Class({ this._clock.disconnect(this._timezoneChangedId); this._timezoneChangedId = 0; + this._clock = null; + if (this._prepareForSleepId != 0) LoginManager.getLoginManager().disconnect(this._prepareForSleepId); this._prepareForSleepId = 0;