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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3262>
This commit is contained in:
Jonas Ådahl 2023-09-11 23:36:24 +08:00 committed by Marge Bot
parent e3b659cfe8
commit 2e295e269c

View File

@ -134,6 +134,9 @@ meta_test_cursor_hotplug (void)
meta_wayland_test_driver_emit_sync_event (test_driver, 1); meta_wayland_test_driver_emit_sync_event (test_driver, 1);
meta_wayland_test_client_finish (test_client); meta_wayland_test_client_finish (test_client);
g_clear_object (&virtual_monitor);
meta_wait_for_paint (test_context);
} }
static void static void