Skip to content

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented Jun 8, 2025

Calling NimBLEDevice::deinit with the clearAll parameter set to true will delete the scan and any scan results but it was calling clearResults which uses critical sections, this would cause a crash because the stack has already been de-initialized.

Calling NimBLEDevice::deint with the `clearAll` parameter set to `true` will delete the scan and any scan results but it was calling `clearall` which uses critical sections, this could cause a crash because the stack has already been de-initialized.
@h2zero h2zero force-pushed the fix-scan-delete branch from b563f95 to ddd3519 Compare June 9, 2025 13:08
@h2zero h2zero changed the title [Bugfix] NimBLEScan delete simplification. [Bugfix] NimBLEScan delete. Jun 9, 2025
@h2zero h2zero merged commit b93492a into master Jun 9, 2025
41 checks passed
@h2zero h2zero deleted the fix-scan-delete branch June 9, 2025 23:10
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