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:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user