internal void removeProducer( ProducerId id ) { if(!this.closing.Value) { this.producers.Remove( id ); } }
public void RemoveProducer(ProducerId objectId) { connection.removeProducer(objectId); if (!this.closing) { producers.Remove(objectId); } }