Exemple #1
0
 public override void Close()
 {
     ReaderWriterLock.AcquireWriterLock();
     try {
         if (!IsClosing && !IsClosed) {
             base.Close();
             _handler.ConnectionClosed(this);
             _rtmpNetworkStream.Close();
         }
     } finally {
         ReaderWriterLock.ReleaseWriterLock();
     }
 }