Exemplo n.º 1
0
 def _deinitToolToExit( self ):
     if self.usbhidDetectTimer != None:
         self.usbhidDetectTimer.cancel()
     uivar.setAdvancedSettings(uidef.kAdvancedSettings_Tool, self.toolCommDict)
     uivar.deinitVar()
     #exit(0)
     global g_main_win
     g_main_win.Show(False)
Exemplo n.º 2
0
 def _deinitToolToExit( self ):
     uivar.setAdvancedSettings(uidef.kAdvancedSettings_Tool, self.toolCommDict)
     uivar.deinitVar()
     #exit(0)
     global g_main_win
     g_main_win.Show(False)
     try:
         self.Destroy()
     except:
         pass
Exemplo n.º 3
0
 def _deinitToolToExit( self ):
     uivar.setAdvancedSettings(uidef.kAdvancedSettings_Tool, self.toolCommDict)
     uivar.deinitVar()
     #exit(0)
     self._stopTask(g_task_detectUsbhid)
     self._stopTask(g_task_playSound)
     self._stopTask(g_task_allInOneAction)
     self._stopTask(g_task_accessMem)
     self._stopTask(g_task_increaseGauge)
     self._stopTask(g_task_showSettedEfuse)
     global g_main_win
     g_main_win.Show(False)
     try:
         self.Destroy()
     except:
         pass