Skip to content

Change order of handlers in JobSupport and CancellableContinuation #418

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

Merged
merged 1 commit into from
Jul 10, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants