X Tutup
Skip to content

2.0.0-build.cad693d fails on clearInterval #7730

@wardbell

Description

@wardbell

@mhevery -

Here is the plunker for the failing sample http://plnkr.co/edit/47lsARG9GPILwHaEX4JY?p=preview

It cuts down the cookbook "Communicating Components" sample to the two examples that use clearInterval

Clicking the stop button one or more times triggers the exception

ZoneDelegate.prototype._updateTaskCount = function (type, count) {
                var counts = this._taskCounts;
                var prev = counts[type];
                var next = counts[type] = prev + count;
                if (next < 0) {
                    debugger;
---here ----->>>        throw new Error('More tasks executed then were scheduled.');
                }

I had to paste A2-polyfills.js and A2.min.js into plunker 'cause I couldn't think of another way to reach it. A2.dev.js was too big ... but it dies in pollyfills anyway so that should do it for you. You can always download the plunker source and move it to a good home for you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup