1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix crash on exit due to GDScript CallStack mismatched deallocation

This commit is contained in:
Serhii Snitsaruk
2025-05-21 21:20:39 +02:00
parent 25a3c27c41
commit 67d97dab5b

View File

@@ -448,7 +448,7 @@ class GDScriptLanguage : public ScriptLanguage {
void free() {
if (levels) {
memdelete(levels);
memdelete_arr(levels);
levels = nullptr;
}
}