mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
C# bindings generator cleanup
- Normal log messages are no longer warnings. - BindingsGenerator is no longer a singleton. - Added a log function.
This commit is contained in:
parent
bf1fe11143
commit
c20a3823a2
7 changed files with 139 additions and 108 deletions
|
@ -131,14 +131,6 @@ void CSharpLanguage::finish() {
|
|||
|
||||
finalizing = true;
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
// Must be here, to avoid StringName leaks
|
||||
if (BindingsGenerator::singleton) {
|
||||
memdelete(BindingsGenerator::singleton);
|
||||
BindingsGenerator::singleton = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Make sure all script binding gchandles are released before finalizing GDMono
|
||||
for (Map<Object *, CSharpScriptBinding>::Element *E = script_bindings.front(); E; E = E->next()) {
|
||||
CSharpScriptBinding &script_binding = E->value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue