mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 73.0.3665.0 (#620590)
This commit is contained in:
committed by
Marshall Greenblatt
parent
10916749d6
commit
1a86240c93
@@ -597,8 +597,15 @@ void CefServerImpl::ShutdownOnUIThread() {
|
||||
if (thread_) {
|
||||
// Stop the handler thread as a background task so the UI thread isn't
|
||||
// blocked.
|
||||
CEF_POST_BACKGROUND_TASK(
|
||||
BindOnce([](std::unique_ptr<base::Thread>) {}, std::move(thread_)));
|
||||
CEF_POST_BACKGROUND_TASK(BindOnce(
|
||||
[](std::unique_ptr<base::Thread> thread) {
|
||||
// Calling PlatformThread::Join() on the UI thread is otherwise
|
||||
// disallowed.
|
||||
base::ScopedAllowBaseSyncPrimitivesForTesting
|
||||
scoped_allow_sync_primitives;
|
||||
thread.reset();
|
||||
},
|
||||
std::move(thread_)));
|
||||
|
||||
// Release the reference that was added in StartupOnUIThread().
|
||||
Release();
|
||||
|
Reference in New Issue
Block a user