Просмотр исходного кода

obs-browser: Fix a deadlock

This fixes a freeze that can occur if you try to destroy browser while
another browser is being created.  The CEF UI thread has to wait on a
window message to the main application UI thread, meanwhile the destroy
call in the main application UI thread is waiting on the CEF UI thread,
thus causes a deadlock.

Now that we have the SetParent(hwnd, nullptr) code that detaches the CEF
window from the Qt window, we no longer have to worry about
synchronously shutting down the browser, so instead of waiting for that
operation to finish, just allow it to occur asynchronously.
jp9000 6 лет назад
Родитель
Сommit
94570478b7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plugins/obs-browser

+ 1 - 1
plugins/obs-browser

@@ -1 +1 @@
-Subproject commit d4c835c344c3a0bf1c1edb94ad4f7ec509f29a66
+Subproject commit 8d77568bf4f5d98b097cdd555be397914271af80