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:
@ -23,7 +23,7 @@ CefBrowserContext* GetBrowserContext(const CefBrowserContext::Getter& getter) {
|
||||
CEF_REQUIRE_UIT();
|
||||
DCHECK(!getter.is_null());
|
||||
|
||||
// Will return nullptr if the BrowserContext has been destroyed.
|
||||
// Will return nullptr if the BrowserContext has been shut down.
|
||||
return getter.Run();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user