Diff between 6efb2b3f74d5780fc62b08d6240da8055f5bf665 and 711e748eb33e5796293f5bb37a1c957c24c39c65

Changed Files

File Additions Deletions Status
android/gatt.c +3 -3 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index b0ce1a8..f9cef4f 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -7284,12 +7284,12 @@ void bt_gatt_unregister(void)
 	ipc_unregister(hal_ipc, HAL_SERVICE_ID_GATT);
 	hal_ipc = NULL;
 
-	queue_destroy(gatt_apps, destroy_gatt_app);
-	gatt_apps = NULL;
-
 	queue_destroy(app_connections, destroy_connection);
 	app_connections = NULL;
 
+	queue_destroy(gatt_apps, destroy_gatt_app);
+	gatt_apps = NULL;
+
 	queue_destroy(gatt_devices, destroy_device);
 	gatt_devices = NULL;