- Code: Select all
// Release the proxy on the IO thread.
CefThread::ReleaseSoon(CefThread::IO, FROM_HERE,
request_context_proxy_.release());
Looking at the trunk version of browser_impl.cc, I noticed that this code has been changed to:
- Code: Select all
// Delete the proxy on the IO thread.
CefThread::DeleteSoon(CefThread::IO, FROM_HERE,
request_context_proxy_.release());
When I changed my version of CEF to use DeleteSoon instead of ReleaseSoon, the crash went away. Is there a reason why CEF calls ReleaseSoon in the 1084 branch but DeleteSoon on the trunk? If the call to ReleaseSoon is actually important, is there something I'm doing wrong in my app to trigger this bad behavior? It doesn't seem to affect CefClient.