Skip to content

Commit d0df8a0

Browse files
author
Cynthia Jiang
committed
testing disposing in swig4
1 parent fa82d73 commit d0df8a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/swig/future.i

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ namespace firebase {
158158
null, System.IntPtr.Zero);
159159
}
160160
System.GC.SuppressFinalize(this);
161+
#if SWIG_VERSION >= 0x040000
162+
base.Dispose(disposing);
163+
#else
161164
base.Dispose();
165+
#endif
162166
}
163167
}
164168

0 commit comments

Comments
 (0)