Skip to content

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Jan 5, 2024

AsyncLazy<T> had been clearing the JoinableTaskFactory field as soon as the value factory had completed. But with the introduction of DisposeValue(), we have a subsequent need of the JTF object to avoid deadlocks.

@AArnott AArnott added the bug label Jan 5, 2024
@AArnott AArnott added this to the v17.10 milestone Jan 5, 2024
@AArnott AArnott requested review from jdrobison and lifengl January 5, 2024 19:57
`AsyncLazy<T>` had been clearing the `JoinableTaskFactory` field as soon as the value factory had completed. But with the introduction of `DisposeValue()`, we have a subsequent need of the JTF object to avoid deadlocks.
@AArnott AArnott force-pushed the fixAsyncLazyDispose branch from 5e65336 to 5544227 Compare January 6, 2024 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants