Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (tls_offset != 0)
     {
         uint o = tls_offset;
         tls_offset = 0;
         if (disposing)
         {
             valueFactory = null;
         }
         Thread.DestroyTlsData(o);
         GC.SuppressFinalize(this);
     }
 }