1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Script languges are uninitialized properly now.

This commit is contained in:
Juan Linietsky
2017-07-22 16:11:04 -03:00
parent c74a3275dc
commit 0ad1a8f3d0
3 changed files with 13 additions and 3 deletions

View File

@@ -1697,14 +1697,16 @@ void Main::cleanup() {
OS::get_singleton()->_execpath = "";
OS::get_singleton()->_local_clipboard = "";
if (audio_server) {
memdelete(audio_server);
}
ScriptServer::finish_languages();
#ifdef TOOLS_ENABLED
EditorNode::unregister_editor_types();
#endif
if (audio_server) {
memdelete(audio_server);
}
unregister_driver_types();
unregister_module_types();
unregister_scene_types();