Merge pull request #78138 from KoBeWi/are_we_clear

Clear SelfList when destroying GDScriptLanguage
This commit is contained in:
Rémi Verschelde 2023-06-14 09:25:34 +02:00
commit 5145098e6e
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -2025,6 +2025,8 @@ void GDScriptLanguage::finish() {
}
s = s->next();
}
script_list.clear();
function_list.clear();
}
void GDScriptLanguage::profiling_start() {