canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

Execute afterTasks in reverse order #56

Closed matthewp closed 8 years ago

matthewp commented 8 years ago

This is needed so that the first plugin that is called in the beforeTask is the last to be executed in the afterTask. This ensures that globals are restored to their previous value. Closes #55