[Twisted-Python] Help: how to run something at shutdown time

David Hirschfield davidh at ilm.com
Mon Feb 6 16:04:49 EST 2006

I'm running an xmlrpc server using twisted xmlrpc. I use 
reactor.callWhenRunning() to do some setup when the server is started, 
but I need to also do some special shutdown steps when the server is 

I don't see any callWhenStopped() or something to that effect...so is 
there a way to call specific methods when shutdown happens?
Any help is appreciated,

mediocre nebula.

More information about the Twisted-Python mailing list