Fix crash on exit due to GDScript CallStack mismatched deallocation
This commit is contained in:
parent
25a3c27c41
commit
67d97dab5b
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ class GDScriptLanguage : public ScriptLanguage {
|
|||
|
||||
void free() {
|
||||
if (levels) {
|
||||
memdelete(levels);
|
||||
memdelete_arr(levels);
|
||||
levels = nullptr;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue