示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     if (f_Handle != IntPtr.Zero)
     {
         StflApi.stfl_free(f_Handle);
     }
 }
示例#2
0
        protected virtual void Dispose(bool disposing)
        {
            var disposed = Disposed;

            if (disposed)
            {
                return;
            }

            if (f_Handle != IntPtr.Zero)
            {
                StflApi.stfl_free(f_Handle);
            }
        }