Skip to content

Commit

Permalink
update fatal error dialog box
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Nov 6, 2024
1 parent a67fecd commit 2e07bc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DragonFruit.OnionFruit.Windows/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ private static void PerformShutdown(object sender, UnhandledExceptionEventArgs e

PInvoke.ShellMessageBox(SafeAccessTokenHandle.InvalidHandle,
HWND.Null,
"OnionFruit has encountered an unrecoverable error and must close. After clicking OK, Tor will attempt to disconnect gracefully and the application will close.",
"OnionFruit",
MESSAGEBOX_STYLE.MB_OK);
"OnionFruit\u2122 has encountered an unrecoverable error and must close. After clicking OK, Tor will attempt to disconnect gracefully and the application will close.",
"OnionFruit\u2122",
MESSAGEBOX_STYLE.MB_OK | MESSAGEBOX_STYLE.MB_ICONWARNING);

// shutdown any ongoing session
_host?.Services.GetService<TorSession>().StopSession().AsTask().Wait();
Expand Down

0 comments on commit 2e07bc8

Please sign in to comment.