Skip to content

Cancelling certain promise results in internal error #1006

@trkjgrdg

Description

@trkjgrdg
new Promise(function() {
}).tap(function() {
}).cancel();

Unhandled rejection TypeError: Cannot read property 'apply' of undefined

Looking through the stack trace, it looks like this._rejectionHandler0 is undefined.

Bluebird 3.3.0 on Chromium 45.0.2454.101

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions