diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index 4c6a3dac2f92..22fecf458e3f 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -99,7 +99,6 @@ WeaveSvc.prototype = { _lock: Utils.lock, _catch: Utils.catch, - _isQuitting: false, _loggedIn: false, _syncInProgress: false, _keyGenEnabled: true, @@ -168,9 +167,6 @@ WeaveSvc.prototype = { get isLoggedIn() { return this._loggedIn; }, - get isQuitting() { return this._isQuitting; }, - set isQuitting(value) { this._isQuitting = value; }, - get keyGenEnabled() { return this._keyGenEnabled; }, set keyGenEnabled(value) { this._keyGenEnabled = value; }, @@ -284,7 +280,6 @@ WeaveSvc.prototype = { Svc.Observer.addObserver(this, "network:offline-status-changed", true); Svc.Observer.addObserver(this, "private-browsing", true); - Svc.Observer.addObserver(this, "quit-application", true); Svc.Observer.addObserver(this, "weave:service:sync:finish", true); Svc.Observer.addObserver(this, "weave:service:sync:error", true); Svc.Observer.addObserver(this, "weave:service:backoff:interval", true); @@ -384,9 +379,6 @@ WeaveSvc.prototype = { this._log.trace("Private browsing change: " + data); this._checkSyncStatus(); break; - case "quit-application": - this._onQuitApplication(); - break; case "weave:service:sync:error": this._handleSyncError(); break;