def METHOD_NAME(self, exit_content):
    """The on-exit handle, can be overridden to process events
    with type "exit".
    """
    if exit_content and exit_content.strip():
        logger.info('driver: [exit] %s', exit_content)
    self.dispose(True)