Beispiel #1
0
 public void Dispose()
 {
     if (IsDisposed)
     {
         return;
     }
     m_data?.ReleaseRef();
     m_data    = default;
     m_content = null;
     DoDispose();
     IsDisposed = true;
     IsFinish   = true;
 }
Beispiel #2
0
 public void ClearRef()
 {
     RefCount = 0;
     m_counter?.ReleaseRef();
 }