summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-29 16:56:25 +0200
committerGitHub <noreply@github.com>2019-04-29 16:56:25 +0200
commit554c0ea90b4bc3b94d2c9a357d6f9c1db93abfe7 (patch)
tree90076d464a839ebdd1cb4485239c5eb3aab4bb34 /modules/mono/csharp_script.cpp
parenta3617f6ca82f4c8121f75d9d2c342ef5431dd214 (diff)
parent3380565e4be4e3decbd0981c3f6a2e54f982c2f2 (diff)
downloadredot-engine-554c0ea90b4bc3b94d2c9a357d6f9c1db93abfe7.tar.gz
Merge pull request #28423 from neikeq/dont-forget-to-think-a-name-for-this-branch
C#: Deprecate accessor methods and generate correct int and float types
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 31d6421a4c..27e579935f 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -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();