protected override void OnRenderProcessTerminated(IWebBrowser chromiumWebBrowser, IBrowser browser, CefTerminationStatus status)
        {
            _renderer.Browser_ConsoleMessage(this, new ConsoleMessageEventArgs(LogSeverity.Error, $"Browser crashed! ({status} Trying to restart.", "internal", 1));

            _renderer.InitBrowser();
            _renderer.BeginRender();
        }
Beispiel #2
0
        protected override void OnRenderProcessTerminated(IWebBrowser chromiumWebBrowser, IBrowser browser, CefTerminationStatus status)
        {
            var msg = string.Format(Resources.BrowserCrashed, status);

            _renderer.Browser_ConsoleMessage(this, new BrowserConsoleLogEventArgs(msg, "internal", 0));

            _renderer.InitBrowser();
            _renderer.BeginRender();
        }