Skip to content

Commit f8cc85f

Browse files
author
Cynthia Jiang
committed
one more fix for base.dispose
1 parent d0df8a0 commit f8cc85f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/swig/serial_dispose.i

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
null, global::System.IntPtr.Zero);
3838
}
3939
global::System.GC.SuppressFinalize(this);
40+
#if SWIG_VERSION >= 0x040000
41+
base.Dispose(disposing);
42+
#else
4043
base.Dispose();
44+
#endif
4145
}
4246
}

0 commit comments

Comments
 (0)