Update Program.cs

This commit is contained in:
LDj3SNuD 2019-09-10 23:11:34 +02:00 committed by GitHub
commit 8e5405dca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
using ARMeilleure.Translation.AOT;
using Gtk; using Gtk;
using Ryujinx.Common.Logging; using Ryujinx.Common.Logging;
using Ryujinx.Profiler; using Ryujinx.Profiler;
@ -40,6 +41,7 @@ namespace Ryujinx
private static void CurrentDomain_ProcessExit(object sender, EventArgs e) private static void CurrentDomain_ProcessExit(object sender, EventArgs e)
{ {
Aot.Dispose();
Logger.Shutdown(); Logger.Shutdown();
} }
@ -51,8 +53,9 @@ namespace Ryujinx
if (e.IsTerminating) if (e.IsTerminating)
{ {
Aot.Dispose();
Logger.Shutdown(); Logger.Shutdown();
} }
} }
} }
} }