Public Access
Desktop: keep a vault-visibility failure from closing the app, and leave a crash log when anything else does
This commit is contained in:
1 parent
170caa1391
commit
37e9d74938
6 files changed
+154
-5
No files matched your search
@@ -48,6 +48,10 @@ internal sealed partial class DodoSshApp : Application
|
||||
{
|
||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
{
|
||||
// Recorded, not handled: see CrashLog for why the process still goes.
|
||||
Avalonia.Threading.Dispatcher.UIThread.UnhandledException +=
|
||||
(_, e) => CrashLog.RecordFromTheUiThread(e.Exception);
|
||||
|
||||
ListenForOpenedLinks();
|
||||
ShowSomethingWhileComposing(desktop);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user