make client ready for broadcast function

This commit is contained in:
Bastian Schroll 2019-02-27 12:08:55 +01:00
parent 54b4c1439a
commit e2ca436e5d
5 changed files with 33 additions and 21 deletions

View file

@ -101,6 +101,12 @@ class BroadcastServer:
self._serverShutdown = False
self._servePort = servePort
def __del__(self):
if self.isRunning:
self.stop()
while self.isRunning:
pass
def start(self):
"""!Start the broadcast server in a new thread