diff options
Diffstat (limited to 'Lib/csharp/csharp.swg')
-rw-r--r-- | Lib/csharp/csharp.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg index 087c083cf..5a602bdb1 100644 --- a/Lib/csharp/csharp.swg +++ b/Lib/csharp/csharp.swg @@ -429,7 +429,7 @@ $1 = &temp; %} %typemap(csptrconstructormodifiers) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "internal" %typemap(csfinalize) SWIGTYPE %{ - protected override void Finalize() { + ~$csclassname() { Dispose(); } %} |