Skip to content

Commit 821967e

Browse files
committed
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
1 parent 19a0a16 commit 821967e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obs-browser-plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ void obs_module_post_load(void)
955955

956956
void obs_module_unload(void)
957957
{
958-
#ifdef USE_UI_LOOP
958+
#if defined(USE_UI_LOOP) || defined(ENABLE_BROWSER_QT_LOOP)
959959
BrowserShutdown();
960960
#elif __APPLE__
961961
ExecuteSyncTask([]() {

0 commit comments

Comments
 (0)