Beispiel #1
0
 def shutdown(self):
     dynamic.set('console_history', self.history.serialize())
     self.shutting_down = True
     for c in self.controllers:
         c.kill()
Beispiel #2
0
 def closeEvent(self, *args):
     dynamic.set('console_window_geometry',
             bytearray(self.saveGeometry()))
     self.console.shutdown()
     return QDialog.closeEvent(self, *args)
 def shutdown(self):
     dynamic.set('console_history', self.history.serialize())
     self.shutting_down = True
     for c in self.controllers:
         c.kill()