diff --git a/obs-browser-plugin.cpp b/obs-browser-plugin.cpp index d9b4a9e73..4b198e4f4 100644 --- a/obs-browser-plugin.cpp +++ b/obs-browser-plugin.cpp @@ -507,9 +507,15 @@ static void BrowserShutdown(void) #ifndef ENABLE_BROWSER_QT_LOOP static void BrowserManagerThread(obs_data_t *settings) { - BrowserInit(settings); - CefRunMessageLoop(); - BrowserShutdown(); +#ifdef __APPLE__ + ExecuteSyncTask([&settings]() { +#endif + BrowserInit(settings); + CefRunMessageLoop(); + BrowserShutdown(); +#ifdef __APPLE__ + }); +#endif } #endif