Esempio n. 1
0
        private void ProcessFailed(object sender, CoreWebView2ProcessFailedEventArgs e)
        {
            string message = $"Browser process failed...{Environment.NewLine}Description: {Description}{Environment.NewLine}Version: { CoreWebView2Environment.GetAvailableBrowserVersionString()}{Environment.NewLine}Url: {CurrentUrl}{Environment.NewLine}Error: {e.ProcessFailedKind}";

            Errors.AddToCrashFile(message);
            Errors.ReportProblem(message, "Fear not though, Arksplorer will attempt to keep going!", "Browser crashed!");
            RecreateBrowser();
            Navigate(CurrentUrl);
        }