Closed ktaborowski closed 1 year ago
Your code references a connection when it connects then never unrefs it
Your code references a connection when it connects then never unrefs it
EDIT: unref added, unfortunately fault is still there
@ktaborowski could you try the changes in https://github.com/zephyrproject-rtos/zephyr/pull/54651 and report if it fixes your issue?
@ktaborowski could you try the changes in #54651 and report if it fixes your issue?
Yes, it fixed the issue. Thank you
Describe the bug Fatal error (assert) on disabling Bluetooth when a pending transaction (notification).
Please also mention any information which could help others to understand the problem you're facing:
To Reproduce Steps to reproduce the behavior: 1.checkout on https://github.com/ktaborowski/sdk-zephyr/tree/zephyrproject-bt-notify-and-disconnect
Expected behavior Device disconnects, no fault.
Impact We are facing the same issues in more complex application (prepared dumb sample for easy reproduction).
Logs and console output
Environment (please complete the following information):
9ad92bca56c06018314ae30a5708a09a3e86444d
based on upstream tagv3.3.0-rc2