-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Memory leak with new memory model and withTimeout #3351
Comments
qwwdfsad
added a commit
that referenced
this issue
Jun 29, 2022
pablobaxter
pushed a commit
to pablobaxter/kotlinx.coroutines
that referenced
this issue
Sep 14, 2022
…n#3353) * Reduce reachable references of disposed invokeOnTimeout handle Fixes Kotlin#3351
Syrou
added a commit
to Syrou/ktor
that referenced
this issue
Sep 30, 2022
Should hopefully address memory leaks fixed as of Kotlin/kotlinx.coroutines#3351
e5l
pushed a commit
to ktorio/ktor
that referenced
this issue
Oct 4, 2022
Should hopefully address memory leaks fixed as of Kotlin/kotlinx.coroutines#3351
@qwwdfsad, would you please publish |
The issues and the fix are related to regular versions of coroutine, the fix is not applicable for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://youtrack.jetbrains.com/issue/KTOR-4298 for details.
The root cause is our dispatcher implementation:
Yet it can be workarounded by carefully replacing lambda with something holding an atomic reference to a
block
so it can be nulled outThe text was updated successfully, but these errors were encountered: