Skip to content

Commit

Permalink
fix for angular#287
Browse files Browse the repository at this point in the history
  • Loading branch information
bionicvapourboy committed Apr 6, 2016
1 parent 1929c0d commit 686a292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,9 @@ var Zone: ZoneType = (function(global) {
var counts = this._taskCounts;
var prev = counts[type];
var next = counts[type] = prev + count;
if (next < 0) {
/*if (next < 0) {
throw new Error('More tasks executed then were scheduled.');
}
}*/
if (prev == 0 || next == 0) {
var isEmpty: HasTaskState = {
microTask: counts.microTask > 0,
Expand Down

0 comments on commit 686a292

Please sign in to comment.