minor bug fixes for releasing bluedroid task events and deleting message queue

This commit is contained in:
wangmengyang 2016-10-10 20:16:30 +08:00
parent 1c877be609
commit 833eb88679
3 changed files with 8 additions and 8 deletions

View file

@ -242,9 +242,9 @@ static void hci_host_thread_handler(void *arg)
}
}
}
}
osi_free(e);
}
}
}
static void set_data_queue(fixed_queue_t *queue) {

View file

@ -324,9 +324,9 @@ static void btu_task_thread_handler(void *arg)
fixed_queue_process(btu_oneshot_alarm_queue);
fixed_queue_process(btu_l2cap_alarm_queue);
}
}
osi_free(e);
}
}
}

View file

@ -68,10 +68,10 @@ static void bt_app_task_handler(void *arg)
LOG_ERROR("button_press_event come in,button_value=%x\n",e->par);
button_msg[1] = e->par;
button_msg_notify(2,button_msg);
}
}
osi_free(e);
}
}
}
static void bt_app_task_post(void)
@ -201,7 +201,7 @@ static void bt_app_task_shut_down(void)
fixed_queue_unregister_dequeue(bt_app_general_alarm_queue);
vTaskDelete(xBtaApp1TaskHandle);
vTaskDelete(xBtaApp1Queue);
vQueueDelete(xBtaApp1Queue);
}