mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 974580 - _timer shouldn't be null. r=allstars.chh
This commit is contained in:
parent
b17b41722f
commit
f8397c296c
@ -686,7 +686,7 @@ XPCOMUtils.defineLazyGetter(this, "gRadioEnabledController", function() {
|
||||
},
|
||||
|
||||
_createTimer: function() {
|
||||
if (_timer) {
|
||||
if (!_timer) {
|
||||
_timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
|
||||
}
|
||||
_timer.initWithCallback(this._executeRequest.bind(this),
|
||||
|
Loading…
Reference in New Issue
Block a user