зеркало из https://github.com/mozilla/gecko-dev.git
Don't try logging out when already logged out -- about:weave calls logout which tries to _log, but Fennec weave hasn't loaded Weave yet.
This commit is contained in:
Родитель
fbb222d35d
Коммит
a2514cee67
|
@ -743,6 +743,10 @@ WeaveSvc.prototype = {
|
|||
})))(),
|
||||
|
||||
logout: function WeaveSvc_logout() {
|
||||
// No need to do anything if we're already logged out
|
||||
if (!this._loggedIn)
|
||||
return;
|
||||
|
||||
this._log.info("Logging out");
|
||||
this._loggedIn = false;
|
||||
this._keyPair = {};
|
||||
|
|
Загрузка…
Ссылка в новой задаче