diff --git a/js/src/timer-driver.js b/js/src/timer-driver.js index 4d8757b..2b87091 100644 --- a/js/src/timer-driver.js +++ b/js/src/timer-driver.js @@ -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); } };