mxcl / PromiseKit

Promises for Swift & ObjC.
MIT License
14.24k stars 1.46k forks source link

Resume continuation on cancellation when using .async() #1334

Closed ChaosCoder closed 5 months ago

ChaosCoder commented 9 months ago

When using .async() with a cancelled promise, the continuation was never completed, because the error was ignored (default catch policy ignores cancellation). This fixes it.

I also already bumped the version to 8.1.2 to make it less work ;)