Skip to content

Convert async actions on components to tasks #2378

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 3 commits into from
Mar 31, 2020
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Mar 30, 2020

async actions are dangerous because they reference component instances that might have already been destroyed when the async behavior finishes. ember-concurrency tasks resolve this issue by cancelling themselves if the parent object is destroyed.

r? @locks

@locks
Copy link
Contributor

locks commented Mar 31, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 31, 2020

📌 Commit 8ba7571 has been approved by locks

@bors
Copy link
Contributor

bors commented Mar 31, 2020

⌛ Testing commit 8ba7571 with merge a54c7e1...

@bors
Copy link
Contributor

bors commented Mar 31, 2020

☀️ Test successful - checks-travis
Approved by: locks
Pushing a54c7e1 to master...

@bors bors merged commit a54c7e1 into rust-lang:master Mar 31, 2020
@Turbo87 Turbo87 deleted the tasks branch March 31, 2020 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants