Exemplo n.º 1
0
 /// <summary>Release the current window cursor.</summary>
 /// <remarks>Release the current window cursor.</remarks>
 public override void Release()
 {
     window = null;
     try
     {
         InflaterCache.Release(inf);
     }
     finally
     {
         inf = null;
     }
 }
Exemplo n.º 2
0
 /// <exception cref="System.IO.IOException"></exception>
 public override void Close()
 {
     try
     {
         if (this.remaining <= 0)
         {
             UnpackedObject.CheckValidEndOfStream(this.@in, this.inf, id, new byte[64]);
         }
     }
     finally
     {
         InflaterCache.Release(this.inf);
         base.Close();
     }
 }