-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected upward cancellation propagation #1459
Comments
This was referenced Oct 12, 2019
This was referenced Mar 21, 2020
This was referenced Mar 30, 2020
This was referenced Apr 12, 2020
This was referenced Apr 22, 2020
This was referenced May 7, 2020
This was referenced Jun 8, 2024
This was referenced Sep 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've discovered the following behaviour which i'm unsure whether that is correct or a bug (tested with v3.0.0 and latest v3.5.0).
I've expected the output to be
but it's actually
Bluebird is invoking the cancel callback on the root
promise1
only, but not on the intermediarypromise2
. Is this the expected behaviour?I've seen there is a similar test case, but it's calling
finally()
for all promises in between.bluebird/test/mocha/cancel.js
Lines 247 to 282 in a61aa1c
The text was updated successfully, but these errors were encountered: