Skip to content

Commit

Permalink
Merge pull request godotengine#32784 from neikeq/issue-32762
Browse files Browse the repository at this point in the history
C#: Fix regression from godotengine#32732 caused a crash on domain reload
  • Loading branch information
akien-mga authored Oct 12, 2019
2 parents 18d378e + 8a0c037 commit 9dea035
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/mono/mono_gd/gd_mono.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9dea035

Please sign in to comment.