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

Fix error when calling coroutine with await in _ready #44104

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

pouleyKetchoupp
Copy link
Contributor

The code paths for calling async functions seemed to be missing in some cases, causing a debug break and false positive error.

I don't know if this is the proper fix, I might be missing something. But it does fix issues I had with using await in _ready function and doesn't seem to break anything.

Fixes #44101

@pouleyKetchoupp
Copy link
Contributor Author

Already fixed as part of #43890, closing.

@pouleyKetchoupp pouleyKetchoupp deleted the coroutine-await-fix branch December 16, 2020 17:35
@pouleyKetchoupp pouleyKetchoupp restored the coroutine-await-fix branch December 17, 2020 15:58
The code paths for calling async functions seemed to be missing in some
cases, causing a debug break and false positive error.
@pouleyKetchoupp
Copy link
Contributor Author

Reopening as per #44101 (comment).

Copy link
Member

@vnen vnen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@akien-mga akien-mga merged commit c17413f into godotengine:master Jan 11, 2021
@pouleyKetchoupp pouleyKetchoupp deleted the coroutine-await-fix branch January 11, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when calling a coroutine with await in _ready
3 participants