ravibpatel / CrashReporter.NET

Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
MIT License
184 stars 74 forks source link

_reportCrash.RetryFailedReports() blocking the WPF app #46

Open simpleCitizen3038 opened 1 year ago

simpleCitizen3038 commented 1 year ago

Hi @ravibpatel I am using the CrashReporter lib for my WPF project and I face a issue regarding RetryFailedReports(); When i got a crash from app and restarted the app again it is showing the report send popup , and it send the report as well but after that my app is not going further even after sending the report successfully

base.OnStartup(e); AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException; Application.Current.DispatcherUnhandledException += DispatcherOnUnhandledException; TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException; _reportCrash = new ReportCrash("satyam.mishra@neoastra.com") { Silent = true }; _reportCrash.RetryFailedReports();

CC @ducseb @EddieDemon @milleniumbug @tarekwiz

EddieDemon commented 1 year ago

Have you checked/debugged where the lock happens?