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 supervisor onLoaded race condition and reduce burden on apps #960

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

brandonfancher
Copy link
Contributor

@Velua discovered a race condition in the supervisor onLoaded() function. We patched that. Additionally, instead of forcing apps to call onLoaded() prior to making functionCall()s to supervisor, we call this.onLoaded() inline in the functionCall() method itself. This reduces a lot of app boilerplate and simplifies supervisor instantiation and consumption.

@brandonfancher brandonfancher merged commit a5d8c5c into main Dec 13, 2024
3 checks passed
@brandonfancher brandonfancher deleted the supervisor-loading branch December 13, 2024 15:09
@James-Mart James-Mart added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants