mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking
This commit is contained in:
@@ -205,8 +205,6 @@ namespace CefSharp
|
||||
return;
|
||||
}
|
||||
|
||||
AutoLock lock_scope(_syncRoot);
|
||||
|
||||
_browserControl->OnFrameLoadStart(StringUtils::ToClr(frame->GetURL()), frame->IsMain());
|
||||
}
|
||||
|
||||
@@ -217,8 +215,6 @@ namespace CefSharp
|
||||
return;
|
||||
}
|
||||
|
||||
AutoLock lock_scope(_syncRoot);
|
||||
|
||||
_browserControl->OnFrameLoadEnd(StringUtils::ToClr(frame->GetURL()), frame->IsMain(), httpStatusCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include "include/cef_app.h"
|
||||
#include "include/cef_client.h"
|
||||
#include "include/cef_render_process_handler.h"
|
||||
#include "AutoLock.h"
|
||||
|
||||
using namespace System;
|
||||
|
||||
@@ -31,7 +30,6 @@ namespace CefSharp
|
||||
public CefGeolocationHandler
|
||||
{
|
||||
private:
|
||||
CriticalSection _syncRoot;
|
||||
gcroot<IWebBrowserInternal^> _browserControl;
|
||||
gcroot<Action<int>^> _onAfterBrowserCreated;
|
||||
HWND _browserHwnd;
|
||||
|
||||
Reference in New Issue
Block a user