Skip to content

Crashes after calling btstack_cyw43_deinit #2446

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
May 1, 2025

Conversation

peterharperuk
Copy link
Contributor

You can deinitialise cyw43 and btstack by calling btstack_cyw43_deinit but its pending and timeout workers are not removed which means they can keep running, which causes a crash.

Add a btstack_run_loop_async_context_deinit method and call this from btstack_cyw43_deinit.

You can deinitialise cyw43 and btstack by calling btstack_cyw43_deinit
but its pending and timeout workers are not removed which means they can
keep running, whcih causes a crash.

Add a btstack_run_loop_async_context_deinit method and call this from
btstack_cyw43_deinit.
@kilograham kilograham merged commit 0de8847 into raspberrypi:develop May 1, 2025
4 checks passed
@kilograham
Copy link
Contributor

bit weird that the run loop itself doesnt have a deinit hook; oh well

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.

2 participants