Example #1
0
        protected override void Dispose(bool ADisposing)
        {
            if (FIndexes != null)
            {
                FIndexes.Dispose();
                FIndexes = null;
            }

            FClusteredIndex = null;
            FTableVar       = null;

            base.Dispose(ADisposing);
        }
Example #2
0
 public void Drop(ServerProcess AProcess)
 {
     for (int LIndex = FIndexes.Count - 1; LIndex >= 0; LIndex--)
     {
                         #if !FINDLEAKS
         try
         {
                         #endif
         ((TableBufferIndex)FIndexes[LIndex]).Drop(AProcess);
                         #if !FINDLEAKS
     }
     catch
     {
         // This should not prevent the table buffer from dropping
         // TODO: Log this error
     }
                         #endif
         FIndexes.RemoveAt(LIndex);
     }
 }