Bug 974580 - _timer shouldn't be null. r=allstars.chh

This commit is contained in:
Hsin-Yi Tsai 2014-02-21 14:15:35 +08:00
parent b17b41722f
commit f8397c296c

View File

@ -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),