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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conditions for UniTaskCompletionSourceCore.TrySet* to be true #499

Merged
merged 1 commit into from Sep 14, 2023

Conversation

hadashiA
Copy link
Member

@hadashiA hadashiA commented Sep 8, 2023

About the TrySetResult family of UniTaskCompletionSourceCore,
It is expected that true will be returned if set succeeds. However, if continuation is not set, the return value seems to be false.

I would like to correct this to the expected behavior.

I visually checked 馃憖 . the return value was not actually used, so this change is probably no impact.

@neuecc
Copy link
Member

neuecc commented Sep 14, 2023

good catch!

@hadashiA hadashiA merged commit 8a022ee into master Sep 14, 2023
4 checks passed
@hadashiA hadashiA deleted the hadashiA/fix-completion-source-retval branch September 14, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants