public override void OnExit() { lumberMillList.RemoveAllChildren(true); mineAndStrongHoldList.RemoveAllChildren(true); mineDrillList.RemoveAllChildren(true); lumbermillSheetTextureInfo.Dispose(); mineSheetTextureInfo.Dispose(); strongHoldAndMineSheetTextureInfo.Dispose(); worldmap.TextureInfo.Dispose(); boombox.Stop(); music.Dispose(); boombox.Dispose(); this.RemoveAllChildren(true); Console.WriteLine(lumbermillSheetTextureInfo.Disposed.ToString() + " " + mineSheetTextureInfo.Disposed.ToString() + " " + strongHoldAndMineSheetTextureInfo.Disposed.ToString()); }