ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout

ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
This commit is contained in:
luomanruo
2023-11-06 10:45:50 +08:00
parent baf1091868
commit ec119aa694
5 changed files with 5 additions and 5 deletions

View File

@@ -861,10 +861,10 @@ esp_err_t esp_bt_controller_deinit(void)
modem_clock_deselect_lp_clock_source(PERIPH_BT_MODULE);
modem_clock_module_disable(PERIPH_BT_MODULE);
ble_controller_deinit();
#if CONFIG_BT_LE_CONTROLLER_LOG_ENABLED
ble_log_deinit_async();
#endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED
ble_controller_deinit();
#if CONFIG_BT_NIMBLE_ENABLED
/* De-initialize default event queue */