Re: Improvements suggestion for DataChannels

On 2014-03-04 10:09, piranna@gmail.com wrote:
> I think is implicit the DataChannel should be removed from the
> PeerConnection list inconditionally when it gets closed, so the list is
> only of currently active, open DataChannel objects. Later, on a side
> note, if someone get a reference to a DataChannel object both from
> calling createDataChannel() or from the list, it will be GC when it gets
> closed and all references disappear... At least it's the most logical
> behaviour (and the one I was proposing, sorry if there was some
> misunderstands).

I think that would work, except the part where all references disappear. 
:) You can have a lot of references to closed channels.

/Adam

Received on Tuesday, 4 March 2014 09:21:47 UTC