def exit_thread(self): from bioformats.formatreader import clear_image_reader_cache self.notify_socket.close() clear_image_reader_cache() J.detach() if self.with_stop_run_loop: stop_run_loop()
def exit_thread(self): self.notify_socket.close() J.deactivate_awt() J.detach() if self.with_stop_run_loop: stop_run_loop()