Esempio n. 1
0
 /// <summary>
 /// Release resources used by this Publication when there are no more references.
 ///
 /// Publications are reference counted and are only truly closed when the ref count reaches zero.
 /// </summary>
 public void Dispose()
 {
     if (!_isClosed)
     {
         _conductor.ReleasePublication(this);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Release resources used by this Publication when there are no more references.
 ///
 /// Publications are reference counted and are only truly closed when the ref count reaches zero.
 /// </summary>
 public void Dispose()
 {
     _conductor.ReleasePublication(this);
 }