Clear SelfList when destroying GDScriptLanguage

This commit is contained in:
kobewi 2023-06-12 15:47:06 +02:00
parent 2d6b880987
commit c646f7df70

View file

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