From 9077563dacddf14a35df814539e8defa3d985719 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sun, 31 Jan 2021 08:29:07 +0200 Subject: [PATCH] Add missing destructor of progress dialog --- rpcs3/Emu/System.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index e542cd6888..38d882c8f3 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -439,6 +439,14 @@ namespace } } + ~progress_dialog_server() + { + g_progr_ftotal.release(0); + g_progr_fdone.release(0); + g_progr_ptotal.release(0); + g_progr_pdone.release(0); + } + static auto constexpr thread_name = "Progress Dialog Server"sv; }; }