Esempio n. 1
0
 /// <summary>
 /// Releases the unmanaged resources used by the <see cref="Geom"/> class
 /// specifying whether to perform a normal dispose operation.
 /// </summary>
 /// <param name="disposing">
 /// <b>true</b> for a normal dispose operation; <b>false</b> to finalize
 /// the geom.
 /// </param>
 protected virtual void Dispose(bool disposing)
 {
     if (!id.IsClosed)
     {
         if (disposing)
         {
             handle.Free();
             id.Close();
         }
     }
 }