Remove unused event in ServerThreadHelper

Change-Id: Ib9ebe363f29cf9a0034550ad852882c2cde8bb49
This commit is contained in:
Matthew Booth 2015-10-21 11:36:28 +01:00
parent a3fa8ffec9
commit f9b14c0337

View File

@ -66,7 +66,6 @@ class ServerThreadHelper(threading.Thread):
self.daemon = True
self._server = server
self._stop_event = threading.Event()
self._wait_event = threading.Event()
def run(self):
self._server.start()
@ -75,7 +74,6 @@ class ServerThreadHelper(threading.Thread):
self._server.start()
self._server.stop()
self._server.wait()
self._wait_event.set()
def stop(self):
self._stop_event.set()