Exemple #1
0
 def shouldStopExecution(self):
     return not self.buildSpec[
         'show_stop_warning'] or modals.confirmForceStop()
Exemple #2
0
 def onStopExecution(self):
     """Displays a scary message and then force-quits the executing
     client code if the user accepts"""
     if self.buildSpec['show_stop_warning'] and modals.confirmForceStop():
         self.clientRunner.stop()
Exemple #3
0
 def onStopExecution(self):
     """Displays a scary message and then force-quits the executing
     client code if the user accepts"""
     if self.buildSpec['show_stop_warning'] and modals.confirmForceStop():
         self.clientRunner.stop()