1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #113947 from deralmas/wl-misc-fixes/cleanup-forgor

Wayland: Add missing destroy calls for text input and tablet
This commit is contained in:
Rémi Verschelde
2025-12-16 11:26:53 +01:00

View File

@@ -5415,9 +5415,19 @@ void WaylandThread::destroy() {
zwp_tablet_tool_v2_destroy(tool); zwp_tablet_tool_v2_destroy(tool);
} }
zwp_text_input_v3_destroy(ss->wp_text_input);
memdelete(ss); memdelete(ss);
} }
if (registry.wp_tablet_manager) {
zwp_tablet_manager_v2_destroy(registry.wp_tablet_manager);
}
if (registry.wp_text_input_manager) {
zwp_text_input_manager_v3_destroy(registry.wp_text_input_manager);
}
for (struct wl_output *wl_output : registry.wl_outputs) { for (struct wl_output *wl_output : registry.wl_outputs) {
ERR_FAIL_NULL(wl_output); ERR_FAIL_NULL(wl_output);