mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix possible use after shutdown of BrowserContext (fixes issue #3193)
This commit is contained in:
@@ -213,6 +213,9 @@ void CefBrowserContext::Shutdown() {
|
||||
|
||||
// Destroy objects that may hold references to the MediaRouter.
|
||||
media_router_manager_.reset();
|
||||
|
||||
// Invalidate any Getter references to this object.
|
||||
weak_ptr_factory_.InvalidateWeakPtrs();
|
||||
}
|
||||
|
||||
void CefBrowserContext::AddCefRequestContext(CefRequestContextImpl* context) {
|
||||
|
Reference in New Issue
Block a user