2
0
Эх сурвалжийг харах

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

Fix DebuggerMarshalls errors while profiling
Rémi Verschelde 4 жил өмнө
parent
commit
e1e3aa4f23

+ 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");