- Code: Select all
[0112/115346.263:FATAL:shutdown_checker.cc(52)] Check failed: !IsCefShutdown(). Object reference incorrectly held at CefShutdown
This seems to be a browser object that was created by a window.open call in Javascript. The open call was to a custom protocol (steam:// in this case, but I don't think it matters.) In OnProtocolExecution I call:
- Code: Select all
browser->GetHost()->CloseBrowser( true );
And then return without keeping a reference to the browser. I'm pretty sure I don't have reference to the browser anywhere on my side. Yet in CefShutdown there's one browser object still hanging around with a reference to it.
Is there some stronger way to close a browser than the above? Is there some way to handle custom protocols without ever opening a window in the first place?