Skip to content

Conversation

qwwdfsad
Copy link
Member

@qwwdfsad qwwdfsad commented Jul 3, 2018

  1. Invoke handlers before dispatching in CancellableContinuation to make behaviour timing-independent and Unconfined doesn't produce unexpected results
  2. Invoke onCancellation -> handlers -> onCompletion in Job to make behaviour timing-independent

Fixes #415

1) Invoke handlers before dispatching in CancellableContinuation to make behaviour timing-independent and Unconfined doesn't produce unexpected results
2) Invoke onCancellation -> handlers -> onCompletion in Job to make behaviour timing-independent

Fixes #415
@elizarov elizarov merged commit b10287e into develop Jul 10, 2018
@elizarov elizarov deleted the fix-handlers-order branch July 10, 2018 18:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants