Exemplo n.º 1
0
    def exit(self):
        if self.ids.detector.capture is not None:
            self.ids.detector.capture.release()
            self.ids.detector.analysisThead.join()
        self.ids.detector.server.quit()

        EventLoop.close()
Exemplo n.º 2
0
    def tearDown(self):
        super().tearDown()
        EventLoop.close()

        if self.console_logger:
            logging.getLogger('').removeFilter(self.console_logger)
            self.console_logger = None
Exemplo n.º 3
0
 def tearDown(self):
     super().tearDown()
     EventLoop.close()
Exemplo n.º 4
0
 def doexit(self):
     global capture
     if capture != None:
         capture.release()
         capture = None
     EventLoop.close()
Exemplo n.º 5
0
 def tearDown(self):
     self.mc.stop()
     self.clock.unschedule(self.mc_task)
     super().tearDown()
     EventLoop.close()
Exemplo n.º 6
0
 def back_setting(self):
     if self.cam is not None:
         self.cam.release()
         self.cam = None
     EventLoop.close()
     sm.current = 'setting_screen'
Exemplo n.º 7
0
    def cam_stop(self):
        if self.cam is not None:
            self.cam.release()
            self.cam = None

        EventLoop.close()
Exemplo n.º 8
0
 def exit(self):
     EventLoop.close()