mirror of https://github.com/godotengine/godot
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
|
|
@ -448,7 +448,7 @@ class GDScriptLanguage : public ScriptLanguage {
|
|||
|
||||
void free() {
|
||||
if (levels) {
|
||||
memdelete(levels);
|
||||
memdelete_arr(levels);
|
||||
levels = nullptr;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue