mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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:
parent
e3b659cfe8
commit
2e295e269c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user