Browser.Load is spawning a new Process when trying to load new URL

27 views
Skip to first unread message

Sowrab B M

unread,
Feb 9, 2019, 9:33:54 AM2/9/19
to CefSharp
Hi,
   I have embedded CefSharp Browser for WPF Application where I'm trying to load a WebPage. Also I have bound JavaScript object using 
RegisterJsObject Function. This is required as JS of Webpage makes calls to Native app.

I have implemented a WatchDogTimer to switch to error page if the page load takes time/any error.
The issue is, when it tries to load Error page in case of timeout, it is killing the existing CefSharp.BrowserSubprocess.exe and creating a new one. But this is losing the JavaScript binding thereby no calls can be made from JS to Native App.

Is there any way to avoid creating new process of CefSharp.BrowserSubprocess.exe? 
Reply all
Reply to author
Forward
0 new messages