[Red5] Culling dead client connections

Mondain mondain at gmail.com
Fri Jun 5 11:50:09 PDT 2009


I personally use disconnect, but also be aware that the ClientList uses
WeakReferences so as long as your connection no longer has any references to
it, the garbage collector should cull it.
Paul

On Fri, Jun 5, 2009 at 11:18 AM, Gaby Vanhegan <gaby at vanhegan.net> wrote:

> I'm trying to cull dead/stale client connections.  Is this better done by
> calling disconnect( _conn, _scope ) from the ApplicationAdaptor or
> client.disconnect() on the client object?  Is there a preferred method or do
> they effectively do the same thing?
> G.
>
> --
>
> Uganda Maximum - Enemy of the English Thrust
>
> http://www.playr.co.uk/
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090605/5a5dcd99/attachment.html>


More information about the Red5 mailing list