Skip to content

Commit

Permalink
Fix promise not being deleted from Map after clear (fixes #102)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonpage committed Apr 6, 2017
1 parent bc0f8b1 commit d19f6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/fastdom-promised.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var exports = {
var tasks = this._tasks;
var task = tasks.get(promise);
this.fastdom.clear(task);
tasks.delete(task);
tasks.delete(promise);
}
};

Expand Down

0 comments on commit d19f6e9

Please sign in to comment.