def stop(self=None):
if not self:<EOL><INDENT>instance = getattr(Runner.instance(), '<STR_LIT>', None)<EOL>self = instance and instance()<EOL>if not self:<EOL><INDENT>return<EOL><DEDENT><DEDENT>self._runner.stop()<EOL>if self.project:<EOL><INDENT>self.project.stop()<EOL>self.project = None<EOL><DEDENT>
Stop the builder if it's running.