Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
This function will be called when we're done serving

Override this method in derived class if you
want to do anything special at shutdown.

src/a/r/ardj-1.2.1/src/ardj/jabber.py   ardj(Download)
    def shutdown(self):
        # self.on_disconnect() # called by JabberBot afterwards.
        logging.info('shutdown: shutting down JabberBot.')
        if self.pidfile and os.path.exists(self.pidfile):