From f9f98c0b2aa44fe47482e083d428fa3b54ecdeb2 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 16 Sep 2024 16:21:17 -0400 Subject: [PATCH] test-uhid: Add call to bt_uhid_unregister_all This adds a call to bt_uhid_unregister_all so it tests if notification callback end up calling that. --- unit/test-uhid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unit/test-uhid.c b/unit/test-uhid.c index 6871c22ee..c5848bef9 100644 --- a/unit/test-uhid.c +++ b/unit/test-uhid.c @@ -100,6 +100,7 @@ static void destroy_context(struct context *context) if (context->source > 0) g_source_remove(context->source); + bt_uhid_unregister_all(context->uhid); bt_uhid_unref(context->uhid); test_free(context->data); -- 2.47.3