You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix crash on exit due to GDScript CallStack mismatched deallocation
This commit is contained in:
@@ -448,7 +448,7 @@ class GDScriptLanguage : public ScriptLanguage {
|
|||||||
|
|
||||||
void free() {
|
void free() {
|
||||||
if (levels) {
|
if (levels) {
|
||||||
memdelete(levels);
|
memdelete_arr(levels);
|
||||||
levels = nullptr;
|
levels = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user