示例#1
0
 def on_stopButton_clicked(self):
     MainWindow.on_stopButton_clicked(self)
     if self.cap_thread != None and self.cap_thread.is_alive():
         self.capturer.stop_capture()
         self.cap_thread.join()
     if self.ana_thread != None and self.ana_thread.is_alive():
         self.analyzer.stop_analize()
         self.ana_thread.join()