@gensim.utils.synchronous('<STR_LIT>')<EOL><INDENT>def rollback(self):<DEDENT>
if self.session is not None:<EOL><INDENT>logger.info("<STR_LIT>" % self)<EOL>self.session.close()<EOL>self.session = None<EOL>self.lock_update.release()<EOL><DEDENT>else:<EOL><INDENT>logger.warning("<STR_LIT>" % self)<EOL><DEDENT>
Ignore all changes made in the latest session (terminate the session).