mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
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:
parent
fbb222d35d
commit
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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user