benny.huo04/21/2019, 1:55 AM
on an exceptionally completed job. After days digging, I figure out that if the
call falls into the fast-path or successfully suspending, a CancellationException will be thrown in this case, but if the
call falls into the
path but not successfully suspending, no CancellationException will happen. I just wonder that is it a bug to get inconsistent result from
with the same code? I have created a gist here https://gist.github.com/enbandari/0321cffa792e0f98d90e0e77682aeaed to make it more clear.
bdawg.io04/21/2019, 2:43 AM
benny.huo04/21/2019, 3:06 AM
elizarov04/21/2019, 9:55 AM
. Fixing it.
benny.huo04/21/2019, 10:26 AM