Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
c9882e61
Commit
c9882e61
authored
Apr 23, 2020
by
Ignacio Etcheverry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
parent
28f0b15c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
gd_mono.cpp
modules/mono/mono_gd/gd_mono.cpp
+4
-1
No files found.
modules/mono/mono_gd/gd_mono.cpp
View file @
c9882e61
...
...
@@ -1387,7 +1387,10 @@ bool _GodotSharp::is_runtime_initialized() {
void
_GodotSharp
::
_reload_assemblies
(
bool
p_soft_reload
)
{
#ifdef GD_MONO_HOT_RELOAD
CSharpLanguage
::
get_singleton
()
->
reload_assemblies
(
p_soft_reload
);
// This method may be called more than once with `call_deferred`, so we need to check
// again if reloading is needed to avoid reloading multiple times unnecessarily.
if
(
CSharpLanguage
::
get_singleton
()
->
is_assembly_reloading_needed
())
CSharpLanguage
::
get_singleton
()
->
reload_assemblies
(
p_soft_reload
);
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment