mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
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:
@@ -448,7 +448,7 @@ class GDScriptLanguage : public ScriptLanguage {
|
||||
|
||||
void free() {
|
||||
if (levels) {
|
||||
memdelete(levels);
|
||||
memdelete_arr(levels);
|
||||
levels = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user