[mutter] tests/pointer-constraints: Destroy client after test



commit 510a93806916cd1dc78d9c72cbec87609d9a6ea6
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Aug 5 16:43:45 2022 +0200

    tests/pointer-constraints: Destroy client after test
    
    Otherwise the client might exit non-cleanly due to a broken pipe.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2561>

 src/tests/native-pointer-constraints.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/tests/native-pointer-constraints.c b/src/tests/native-pointer-constraints.c
index 656fefa6d8..65678d5d2f 100644
--- a/src/tests/native-pointer-constraints.c
+++ b/src/tests/native-pointer-constraints.c
@@ -117,6 +117,8 @@ meta_test_warp_on_hotplug (void)
                                    &coords, NULL);
 
   g_assert_nonnull (meta_backend_get_current_logical_monitor (backend));
+
+  meta_test_client_destroy (test_client);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]