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:
amaitland
2015-04-15 17:25:19 +10:00
parent bbbd2393f6
commit 5cc55b50ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)