From d1785a39171c2ce09fb66cb191b283be44b50a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 3 Mar 2023 14:58:08 +0100 Subject: [PATCH] onscreen/native: Detach onscreens when disposing On exit, explicitly detach the onscreens during disposal. This means no functional changes, but allows for doing more cleanup on detach that doesn't need to be repeated on disposal. Part-of: --- src/backends/native/meta-onscreen-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-onscreen-native.c b/src/backends/native/meta-onscreen-native.c index 5b9396aeb..b76d0f98c 100644 --- a/src/backends/native/meta-onscreen-native.c +++ b/src/backends/native/meta-onscreen-native.c @@ -2293,7 +2293,7 @@ meta_onscreen_native_dispose (GObject *object) MetaRendererNative *renderer_native = onscreen_native->renderer_native; MetaRendererNativeGpuData *renderer_gpu_data; - clear_invalidation_handlers (onscreen_native); + meta_onscreen_native_detach (onscreen_native); renderer_gpu_data = meta_renderer_native_get_gpu_data (renderer_native,