Skip to content

fix: await provider.synced before adding runtime #496

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

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Aug 31, 2023

There was a buggy behavior: the first time spawning a runtime, it would not show up. It's because we tried to add the runtime before the provider was ready, thus the adding was dropped.

This PR fixes it by await after the provider is synced.

@lihebi lihebi merged commit 9e09da4 into codepod-io:main Aug 31, 2023
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.

1 participant