mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
* Move unmanged objects into finalizer and call finalizer from Dispose.
* Remove DisposableResources from ManagedCefBrowserAdapter * Improve disposing of CefRequestWrapper * Have callbacks dispose themselves. * Allow the Application exit handler shutdown CEF from the Winforms example application.
This commit is contained in:
@@ -10,12 +10,17 @@ namespace CefSharp
|
||||
{
|
||||
namespace Internals
|
||||
{
|
||||
JavascriptCallbackWrapper::~JavascriptCallbackWrapper()
|
||||
JavascriptCallbackWrapper::!JavascriptCallbackWrapper()
|
||||
{
|
||||
value = nullptr;
|
||||
context = nullptr;
|
||||
}
|
||||
|
||||
JavascriptCallbackWrapper::~JavascriptCallbackWrapper()
|
||||
{
|
||||
this->!JavascriptCallbackWrapper();
|
||||
}
|
||||
|
||||
JavascriptResponse^ JavascriptCallbackWrapper::Execute(array<Object^>^ parms)
|
||||
{
|
||||
JavascriptResponse^ response = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user