Exemple #1
0
 /// <summary>
 /// Finally releases COM object
 /// Decrement COM reference counter into zero
 /// </summary>
 public void FinalRelease()
 {
     if (_instance != null)
     {
         Xpcom.FinalFreeComObject(ref _instance);
     }
     _instance = null;
 }
Exemple #2
0
 /// <summary>
 /// Finally releases COM object
 /// Decrement COM reference counter into zero
 /// </summary>
 public void FinalRelease()
 {
     Xpcom.FinalFreeComObject(ref _instance);
 }