diff --git a/CefSharp.Core/Internals/ClientAdapter.cpp b/CefSharp.Core/Internals/ClientAdapter.cpp index 0af7e3887..d0e2403db 100644 --- a/CefSharp.Core/Internals/ClientAdapter.cpp +++ b/CefSharp.Core/Internals/ClientAdapter.cpp @@ -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); } diff --git a/CefSharp.Core/Internals/ClientAdapter.h b/CefSharp.Core/Internals/ClientAdapter.h index ae674d154..72ee64763 100644 --- a/CefSharp.Core/Internals/ClientAdapter.h +++ b/CefSharp.Core/Internals/ClientAdapter.h @@ -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 _browserControl; gcroot^> _onAfterBrowserCreated; HWND _browserHwnd;