Merge pull request #35099 from neikeq/sync-visual-server-after-script-server-finish

Sync pending VisualServer commands after ScriptServer finalization
This commit is contained in:
Rémi Verschelde 2020-01-13 22:13:29 +01:00 committed by GitHub
commit 34ad33d9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2169,6 +2169,9 @@ void Main::cleanup() {
ScriptServer::finish_languages();
// Sync pending commands that may have been queued from a different thread during ScriptServer finalization
VisualServer::get_singleton()->sync();
#ifdef TOOLS_ENABLED
EditorNode::unregister_editor_types();
#endif