Loading system/hci/src/hci_layer.cc +4 −2 Original line number Diff line number Diff line Loading @@ -226,13 +226,15 @@ static future_t* hci_module_shut_down() { alarm_free(startup_timer); startup_timer = NULL; hci_close(); // Stop the thread to prevent Send() calls. if (thread) { thread_stop(thread); thread_join(thread); } // Close HCI to prevent callbacks. hci_close(); fixed_queue_free(command_queue, osi_free); command_queue = NULL; fixed_queue_free(packet_queue, buffer_allocator->free); Loading Loading
system/hci/src/hci_layer.cc +4 −2 Original line number Diff line number Diff line Loading @@ -226,13 +226,15 @@ static future_t* hci_module_shut_down() { alarm_free(startup_timer); startup_timer = NULL; hci_close(); // Stop the thread to prevent Send() calls. if (thread) { thread_stop(thread); thread_join(thread); } // Close HCI to prevent callbacks. hci_close(); fixed_queue_free(command_queue, osi_free); command_queue = NULL; fixed_queue_free(packet_queue, buffer_allocator->free); Loading