Esempio n. 1
0
 protected virtual void Dispose(bool disposing)
 {
     //just to follow the pretty dispose pattern
     if (disposing)
     {
         if (mReference != -1)
         {
             CAPI.Unity_WebRtcNetwork_Release(mReference);
             mReference = -1;
         }
     }
     else
     {
         if (mReference != -1)
         {
             CAPI.Unity_WebRtcNetwork_Release(mReference);
         }
     }
 }