mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 22:07:45 +00:00
make client ready for broadcast function
This commit is contained in:
parent
54b4c1439a
commit
e2ca436e5d
5 changed files with 33 additions and 21 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue