示例#1
0
 /// <summary>
 /// Frees all heaps and streams that are being used.
 /// </summary>
 public void Dispose()
 {
     if (_blobheap != null)
     {
         _blobheap.Dispose();
     }
     if (_guidheap != null)
     {
         _guidheap.Dispose();
     }
     if (_stringsheap != null)
     {
         _stringsheap.Dispose();
     }
     if (_usheap != null)
     {
         _usheap.Dispose();
     }
     if (_tableheap != null)
     {
         _tableheap.Dispose();
     }
 }