def executor_cleanup(self):
        """Let the executor clean up any cached information."""
        try:
            executor = self.get_executor(create=None)
        except AttributeError:
            pass
        else:
            if executor is not None:
                executor.cleanup()
def executor_cleanup ( self ) : try : executor = self . get_executor ( create = None ) except AttributeError : pass else : if executor is not None : executor . cleanup ( )
Let the executor clean up any cached information.