mirror of
https://github.com/par274/sharpemu.git
synced 2026-09-01 22:31:17 +08:00
[runtime] restore default GC mode
This commit is contained in:
@@ -45,11 +45,6 @@ internal static partial class Program
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
private static int Main(string[] args)
|
private static int Main(string[] args)
|
||||||
{
|
{
|
||||||
// Avoid blocking full collections while guest and render threads are
|
|
||||||
// running, and establish the GC mode before the runtime reserves the
|
|
||||||
// fixed guest address-space window.
|
|
||||||
System.Runtime.GCSettings.LatencyMode = System.Runtime.GCLatencyMode.SustainedLowLatency;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return Run(args);
|
return Run(args);
|
||||||
|
|||||||
Reference in New Issue
Block a user