소스 검색

Attempt to fix multithreading issue

Bepis 6 년 전
부모
커밋
3b0add346e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      NTERA/Console/ConsoleRenderer.cs

+ 1 - 1
NTERA/Console/ConsoleRenderer.cs

@@ -58,7 +58,7 @@ namespace NTERA.Console
 
 		public void MouseHoverEvent(Point mousePoint, Control control)
 		{
-			foreach (var item in Items)
+			foreach (var item in Items.ToArray())
 			{
 				foreach (var rect in item.UpdateRegions)
 				{