From f37090ccf4f699800a43878273b8b94b5906f4bc Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Thu, 22 Feb 2018 13:13:51 +0100 Subject: Mono: Better versioning and gracefully unloading of Godot API assemblies --- modules/mono/editor/godotsharp_export.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/mono/editor/godotsharp_export.cpp') diff --git a/modules/mono/editor/godotsharp_export.cpp b/modules/mono/editor/godotsharp_export.cpp index 387929a02..cd09e6516 100644 --- a/modules/mono/editor/godotsharp_export.cpp +++ b/modules/mono/editor/godotsharp_export.cpp @@ -55,6 +55,9 @@ void GodotSharpExport::_export_begin(const Set &p_features, bool p_debug // TODO right now there is no way to stop the export process with an error + ERR_FAIL_COND(!GDMono::get_singleton()->is_runtime_initialized()); + ERR_FAIL_NULL(GDMono::get_singleton()->get_tools_domain()); + String build_config = p_debug ? "Debug" : "Release"; ERR_FAIL_COND(!GodotSharpBuilds::build_project_blocking(build_config)); -- cgit v1.3.1