예제 #1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or
 /// resetting unmanaged resources.
 /// </summary>
 public override void Dispose()
 {
     base.Dispose();
     if (_queryIndexManager != null)
     {
         _queryIndexManager.Dispose();
         _queryIndexManager = null;
     }
 }
예제 #2
0
 /// <summary>
 /// Libera a instancia.
 /// </summary>
 public override void Dispose()
 {
     base.Dispose();
     if (_queryIndexManager != null)
     {
         _queryIndexManager.Dispose();
         _queryIndexManager = null;
     }
     if (_grpIndexManager != null)
     {
         _grpIndexManager.Dispose();
         _grpIndexManager = null;
     }
     GC.Collect();
 }