public void Quit() { ChunkManager.Destroy(); ComponentManager = null; ChunkManager = null; GC.Collect(); PlanService.Die(); }
public void Quit() { Game.Graphics.PreparingDeviceSettings -= GraphicsPreparingDeviceSettings; ChunkManager.Destroy(); ComponentManager = null; Master.Destroy(); Master = null; ChunkManager = null; ChunkGenerator = null; GC.Collect(); PlanService.Die(); }