BLE: set ble event queue pointer to NULL after it has been deleted
This commit is contained in:
parent
9a472decf1
commit
bd2a19e2a0
@ -96,6 +96,7 @@ ble_npl_eventq_deinit(struct ble_npl_eventq *evq)
|
|||||||
{
|
{
|
||||||
if(evq && evq->q) {
|
if(evq && evq->q) {
|
||||||
tls_os_queue_delete(evq->q);
|
tls_os_queue_delete(evq->q);
|
||||||
|
evq->q = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user