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 crash in peripheral <init> when parent job is already complete #665

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

cedrickcooke
Copy link
Contributor

This PR doesn't attempt any big refactors re. scoping, just makes sure that dispose/finalCleanup are called near the end of peripheral initialization to avoid unexpected nulls.

@cedrickcooke cedrickcooke added the patch Changes that should bump the PATCH version number label Apr 3, 2024
@twyatt twyatt added this to the 0.31.0 milestone Apr 3, 2024
Copy link
Contributor

@davidtaylor-juul davidtaylor-juul left a comment

Choose a reason for hiding this comment

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

Adding "asynchronous constructor side-effects" to my list of nightmares 😆

@cedrickcooke cedrickcooke merged commit b500995 into main Apr 4, 2024
2 checks passed
@cedrickcooke cedrickcooke deleted the cedrickc/fix-peripheral-init-crash branch April 4, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Changes that should bump the PATCH version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants