예제 #1
0
 def stop(self):
     requests.get("{}{}".format(self.url, self.stop_route))
     wait.until_not(self.thread.is_alive, self.stop_timeout)
예제 #2
0
 def stop(self):
     self.thread.kill()
     self.thread.join()
     wait.until_not(self.thread.is_alive, self.stop_timeout)
     self.started = False