From bdfcc5b81467a0ae67c082843df5666473307f6f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 1 Mar 2024 22:11:30 +0100 Subject: [PATCH] Add missing ImGui renderer shutdown to the Wayland backend. --- profiler/src/BackendWayland.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/src/BackendWayland.cpp b/profiler/src/BackendWayland.cpp index 620e8b77..d9804379 100644 --- a/profiler/src/BackendWayland.cpp +++ b/profiler/src/BackendWayland.cpp @@ -767,6 +767,8 @@ Backend::Backend( const char* title, const std::function& redraw, const Backend::~Backend() { + ImGui_ImplOpenGL3_Shutdown(); + if( s_tldec ) zxdg_toplevel_decoration_v1_destroy( s_tldec ); if( s_decoration ) zxdg_decoration_manager_v1_destroy( s_decoration ); if( s_actToken ) xdg_activation_token_v1_destroy( s_actToken );