示例#1
0
        private void Dispose(bool disposing)
        {
            if (Ddict == IntPtr.Zero)
            {
                return;
            }

            ExternMethods.ZSTD_freeDDict(Ddict);

            Ddict = IntPtr.Zero;
        }
示例#2
0
 // Token: 0x06000017 RID: 23 RVA: 0x000023F3 File Offset: 0x000005F3
 private void Dispose(bool disposing)
 {
     if (this.disposed)
     {
         return;
     }
     if (this.Ddict != IntPtr.Zero)
     {
         ExternMethods.ZSTD_freeDDict(this.Ddict);
     }
     this.disposed = true;
 }
示例#3
0
        private void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }
            disposed = true;

            if (ddict != IntPtr.Zero)
            {
                ExternMethods.ZSTD_freeDDict(ddict);
            }
            ExternMethods.ZSTD_freeDCtx(dctx);

            if (disposing)
            {
                GC.SuppressFinalize(this);
            }
        }