@gensim.utils.synchronous('<STR_LIT>')<EOL><INDENT>def terminate(self):<DEDENT>
logger.info("<STR_LIT>" % self)<EOL>self.close()<EOL>try:<EOL><INDENT>shutil.rmtree(self.basedir)<EOL>logger.info("<STR_LIT>" % self.basedir)<EOL>for val in list(self.__dict__.keys()):<EOL><INDENT>try:<EOL><INDENT>delattr(self, val)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>except Exception as e:<EOL><INDENT>logger.warning("<STR_LIT>" % (e))<EOL><DEDENT>
Delete all files created by this server, invalidating `self`. Use with care.