[Twisted-Python] Explicit disconnect from pb

Andrew Bennetts andrew-twisted at puzzling.org
Mon Jul 21 19:35:53 MDT 2003


On Mon, Jul 21, 2003 at 06:21:05PM -0700, Uwe C. Schroeder wrote:
> 
> Hi,
> 
> I looked qround, but I can't find any information on how to disconnect from a 
> pb session without ending the client.
> 
> I have a service which I'm connecting to. Some time later I want to disconnect 
> from this service to free up ressources ( the service keeps database 
> connections etc, and I want to get rid of them ).
> The only thing I have on the client side is a remotereference to the 
> perspective instance. So how do I disconnect from something I don't have a 
> reference to ? Somehow there must be something I can call to disconnect the 
> session (and on the server side trigger the disconnect handlers)

This sounds related to this bug:
    http://twistedmatrix.com/bugs/issue62

-Andrew.





More information about the Twisted-Python mailing list