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()
def tearDown(self): super().tearDown() EventLoop.close() if self.console_logger: logging.getLogger('').removeFilter(self.console_logger) self.console_logger = None
def tearDown(self): super().tearDown() EventLoop.close()
def doexit(self): global capture if capture != None: capture.release() capture = None EventLoop.close()
def tearDown(self): self.mc.stop() self.clock.unschedule(self.mc_task) super().tearDown() EventLoop.close()
def back_setting(self): if self.cam is not None: self.cam.release() self.cam = None EventLoop.close() sm.current = 'setting_screen'
def cam_stop(self): if self.cam is not None: self.cam.release() self.cam = None EventLoop.close()
def exit(self): EventLoop.close()