mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
Switch SchemeHandlerResponse to using a more traditional destructor and calling delete on the object (I think it explains the behaviour better when reading the code)
This commit is contained in:
@@ -68,7 +68,7 @@ namespace CefSharp
|
||||
|
||||
// Must be done AFTER CEF has been allowed to consume the headers etc. After this call is made, the SchemeHandlerWrapper
|
||||
// instance has likely been deallocated.
|
||||
response->ReleaseSchemeHandlerWrapper();
|
||||
delete response;
|
||||
}
|
||||
|
||||
void ResourceHandlerWrapper::GetResponseHeaders(CefRefPtr<CefResponse> response, int64& response_length, CefString& redirectUrl)
|
||||
|
||||
Reference in New Issue
Block a user