From 2e295e269ca03921231a1c23a6ca276ae73cafa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 11 Sep 2023 23:36:24 +0800 Subject: [PATCH] tests/kms-cursor-hotplug: Clean up virtual monitor at end of test Otherwise it'll leak into the next test, when we add one. Part-of: --- src/tests/native-kms-cursor-hotplug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/native-kms-cursor-hotplug.c b/src/tests/native-kms-cursor-hotplug.c index 2b75fea50..3698a5c3f 100644 --- a/src/tests/native-kms-cursor-hotplug.c +++ b/src/tests/native-kms-cursor-hotplug.c @@ -134,6 +134,9 @@ meta_test_cursor_hotplug (void) meta_wayland_test_driver_emit_sync_event (test_driver, 1); meta_wayland_test_client_finish (test_client); + + g_clear_object (&virtual_monitor); + meta_wait_for_paint (test_context); } static void