Update Program.cs
This commit is contained in:
parent
02a091cf83
commit
8e5405dca3
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue