Merge pull request #106691 from limbonaut/fix-crash-on-exit-with-call-stacks
Fix crash on exit due to GDScriptLanguage::CallStack mismatched deallocation
This commit is contained in:
commit
290a65de1e
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