Skip to content

Commit

Permalink
Manually call Cef.Shutdown to avoid hangs
Browse files Browse the repository at this point in the history
CefSharp can hang if exit is done via Environment.Exit.

cefsharp/CefSharp#990

Manually call shutdown.
  • Loading branch information
Layoric committed Apr 29, 2016
1 parent 2539f9f commit 970fa84
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void PerformUpdate()
formMain.InvokeOnUiThreadIfRequired(() =>
{
formMain.Close();
Cef.Shutdown();
UpdateManager.RestartApp();
});
});
Expand Down

0 comments on commit 970fa84

Please sign in to comment.