def stop_emulation(self): logger.debug("stop SIS") if self.sis: progress = QtProgress(self) progress.start(title="Halting", text="Wait while threads stop") progress.update(value=20) self.sis.stop() progress.update(value=30) self.sis.join() self.sis = None progress.end() self._active = False self.info_viewer.hide()