Skip to content

Commit a2d77fe

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 a2d77fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

obs-browser-plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,9 @@ 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();
960-
#elif __APPLE__
960+
#elif defined(__APPLE__)
961961
ExecuteSyncTask([]() {
962962
StopCefMessageLoopTimer();
963963
BrowserShutdown();

0 commit comments

Comments
 (0)