summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eina_mono/eina_accessor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_accessor.cs')
-rw-r--r--src/bindings/mono/eina_mono/eina_accessor.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bindings/mono/eina_mono/eina_accessor.cs b/src/bindings/mono/eina_mono/eina_accessor.cs
index c848a2c..64b4216 100644
--- a/src/bindings/mono/eina_mono/eina_accessor.cs
+++ b/src/bindings/mono/eina_mono/eina_accessor.cs
@@ -1,3 +1,18 @@
1/*
2 * Copyright 2019 by its authors. See AUTHORS.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
1using System; 16using System;
2using System.Collections; 17using System.Collections;
3using System.Collections.Generic; 18using System.Collections.Generic;
@@ -80,6 +95,7 @@ public class Accessor<T> : IEnumerable<T>, IDisposable
80 public void Dispose() 95 public void Dispose()
81 { 96 {
82 Dispose(true); 97 Dispose(true);
98 GC.SuppressFinalize(this);
83 } 99 }
84 100
85 /// <summary>Disposes of this wrapper, releasing the native accessor if 101 /// <summary>Disposes of this wrapper, releasing the native accessor if