소스 검색

Merge pull request #43796 from nekomatata/profiling-error-spam

Fix DebuggerMarshalls errors while profiling
Rémi Verschelde 4 년 전
부모
커밋
e1e3aa4f23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/debugger/debugger_marshalls.cpp

+ 1 - 1
core/debugger/debugger_marshalls.cpp

@@ -171,7 +171,7 @@ bool DebuggerMarshalls::ServersProfilerFrame::deserialize(const Array &p_arr) {
 		}
 		servers.push_back(si);
 	}
-	CHECK_SIZE(p_arr, idx + 3, "ServersProfilerFrame");
+	CHECK_SIZE(p_arr, idx + 1, "ServersProfilerFrame");
 	int func_size = p_arr[idx];
 	idx += 1;
 	CHECK_SIZE(p_arr, idx + func_size, "ServersProfilerFrame");