示例#1
0
        protected override bool ReleaseHandle()
        {
            using var _ = _wrapper;

            _lease.Dispose();
            SetHandle(IntPtr.Zero);
            return(true);
        }
 protected override bool ReleaseHandle()
 {
     try
     {
         var result = (Result)raw.sqlite3_blob_close(_wrapper);
         SetHandle(IntPtr.Zero);
         return(result == Result.OK);
     }
     finally
     {
         _lease.Dispose();
     }
 }
        protected override bool ReleaseHandle()
        {
            try
            {
                using var _ = _wrapper;

                _lease.Dispose();
                SetHandle(IntPtr.Zero);
                return(true);
            }
            finally
            {
                _sqliteLease.Dispose();
            }
        }