Exemple #1
0
 /**
  * Releases unmanaged resources associated with the object.
  * @param disposing true if the disposing the object explicitly,
  *                  false if finalizing the object inside the GC.
  */
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         ex.Dispose();
         if (handle != null)
         {
             handle.Close();
         }
     }
     ex     = null;
     handle = null;
 }