Skip to content

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