C#: Fix regression from #32732 caused a crash on domain reload
This commit is contained in:
parent
18d378e3d5
commit
8a0c0371d4
1 changed files with 5 additions and 0 deletions
|
@ -988,6 +988,11 @@ Error GDMono::_unload_scripts_domain() {
|
||||||
|
|
||||||
_domain_assemblies_cleanup(mono_domain_get_id(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;
|
project_assembly = NULL;
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
tools_assembly = NULL;
|
tools_assembly = NULL;
|
||||||
|
|
Loading…
Reference in a new issue