picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.68k stars 334 forks source link

Wpf: Ignore exceptions when calling GC.TryStartNoGCRegion #2683

Closed cwensley closed 2 months ago

cwensley commented 2 months ago

Even though we only execute this right after the GCSettings.LatencyMode != GCLatencyMode.NoGCRegion check, TryStartNoGCRegion() can still apparently throw an InvalidOperationException sometimes.