Merge pull request #32784 from neikeq/issue-32762

C#: Fix regression from #32732 caused a crash on domain reload
This commit is contained in:
Rémi Verschelde 2019-10-12 21:52:21 +02:00 committed by GitHub
commit 9dea035ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -988,6 +988,11 @@ Error GDMono::_unload_scripts_domain() {
_domain_assemblies_cleanup(mono_domain_get_id(scripts_domain));
core_api_assembly.assembly = NULL;
#ifdef TOOLS_ENABLED
editor_api_assembly.assembly = NULL;
#endif
project_assembly = NULL;
#ifdef TOOLS_ENABLED
tools_assembly = NULL;