From 821967e83bdcfaf2e9a85f6cde8a498ce485d959 Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Thu, 25 Sep 2025 07:49:44 -0500 Subject: [PATCH] properly shutdown if ENABLE_BROWSER_QT_LOOP is enabled * slobs doesnt enable this flag however for consistency sake we will properly shutdown when Qt is enabled for browser src --- obs-browser-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-browser-plugin.cpp b/obs-browser-plugin.cpp index fb6211ff2..fe69583ec 100644 --- a/obs-browser-plugin.cpp +++ b/obs-browser-plugin.cpp @@ -955,7 +955,7 @@ void obs_module_post_load(void) void obs_module_unload(void) { -#ifdef USE_UI_LOOP +#if defined(USE_UI_LOOP) || defined(ENABLE_BROWSER_QT_LOOP) BrowserShutdown(); #elif __APPLE__ ExecuteSyncTask([]() {