-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Code Quality: Use TaskCompletionSource for splash screen loading #13038
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I didn't have time to think about how to do things better because I prioritized releasing improvements to stable right away.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TaskCompletionSource should be disposed of when it is no longer needed.
? TaskCompletionSource is not IDisposable. |
Sorry, I didn't word it well. When it is no longer needed, it should be nulled to free up memory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you |
Resolved / Related Issues
Closes #issue...
This PR modifies the splash screen loading wait to use TaskCompletionSource instead of looping. @hishitetsu what do you think?
Validation
How did you test these changes?