Skip to content

Commit

Permalink
Merge pull request #137 from kchodorow/master
Browse files Browse the repository at this point in the history
Give setTimeout a timeout
  • Loading branch information
tonistiigi committed May 17, 2014
2 parents a2e86cb + 87588bb commit 44a667c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lime/src/schedulemanager.js
Expand Up @@ -205,7 +205,7 @@ lime.scheduleManager.activate_ = function() {

// There are serious freezes on startup so its better to wait for first event loop.
if (this.started_) this.activate__();
else setTimeout(goog.bind(this.activate__, this));
else setTimeout(goog.bind(this.activate__, this), 0);

this.started_ = true;

Expand Down

0 comments on commit 44a667c

Please sign in to comment.