Skip to content
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

Workaround for coroutines crash #399

Merged
merged 1 commit into from
May 24, 2021
Merged

Conversation

Maxr1998
Copy link
Member

suspending functions returning inline/value classes cause a crash in the coroutines library. When replacing the kotlin.util.Result class with a primitive custom alternative that isn't a value class, this crash doesn't happen anymore.

Fixes #397.

suspending functions returning inline/value classes cause a crash in the coroutines library. When replacing the kotlin.util.Result class with a primitive custom alternative that isn't a value class, this crash doesn't happen anymore.
@Maxr1998 Maxr1998 added bug Something isn't working backport Pull request needs to be backported to current release branch labels May 23, 2021
@nielsvanvelzen nielsvanvelzen merged commit f8accb0 into master May 24, 2021
@nielsvanvelzen nielsvanvelzen deleted the coroutine-crash-workaround branch May 24, 2021 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull request needs to be backported to current release branch bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash after pre-roll intro
2 participants