Repair bug in timer-driver.js
This commit is contained in:
parent
ce706583e5
commit
81ae56d7a8
|
@ -80,7 +80,10 @@ Alarm.prototype.checkTimeout = function () {
|
|||
this.cancelTimer();
|
||||
} else if (this.handle === null) {
|
||||
var self = this;
|
||||
this.handle = setTimeout(Dataspace.wrap(function () { self.checkTimeout(); }), delta);
|
||||
this.handle = setTimeout(Dataspace.wrap(function () {
|
||||
self.handle = null;
|
||||
self.checkTimeout();
|
||||
}), delta);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue