def stop_tracking_host(self):
        '''
            This gets called when a module has finshed executing, removes the host from the connection tracker list
        '''
        try:
            self.server.hosts.remove(self.client_address[0])
            if hasattr(self.server.module, 'on_shutdown'):
                self.server.module.on_shutdown(self.server.context, self.server.connection)
        except ValueError:
            pass
def stop_tracking_host ( self ) : try : self . server . hosts . remove ( self . client_address [ 0 ] ) if hasattr ( self . server . module , 'on_shutdown' ) : self . server . module . on_shutdown ( self . server . context , self . server . connection ) except ValueError : pass
This gets called when a module has finshed executing, removes the host from the connection tracker list