Exemplo n.º 1
0
 def on_core_run_done(self):
     assert self.running_core_job.is_finished()
     if self.core:
         ParsecApp.remove_connected_device(
             self.core.device.organization_addr.organization_id,
             self.core.device.device_id)
         self.core.event_bus.disconnect(CoreEvent.GUI_CONFIG_CHANGED,
                                        self.on_core_config_updated)
     self.running_core_job = None
     self.logged_out.emit()
Exemplo n.º 2
0
 def on_core_run_done(self):
     assert self.running_core_job.is_finished()
     if self.core:
         ParsecApp.remove_connected_device(
             self.core.device.organization_addr.organization_id,
             self.core.device.device_id)
         self.core.event_bus.disconnect("gui.config.changed",
                                        self.on_core_config_updated)
     self.running_core_job = None
     self.core_jobs_ctx = None
     self.core = None
     self.logged_out.emit()