There is a small, unrelated, bug in the manger.py code in that it doesn't detect the socket closing and crashes out if a None is received from the uds_client.receive():
# endless loop whilst we process messages from the caller
while True:
try:
data = uds_client.receive()
if data == "QUIT": break
spec = json.loads(data)
Essentially, this needs to be "if data is None or data == 'QUIT': break" and then the manager.py will quietly exit.
There is a small, unrelated, bug in the manger.py code in that it doesn't detect the socket closing and crashes out if a None is received from the uds_client. receive( ):
# endless loop whilst we process messages from the caller receive( )
break
while True:
try:
data = uds_client.
if data == "QUIT":
spec = json.loads(data)
Essentially, this needs to be "if data is None or data == 'QUIT': break" and then the manager.py will quietly exit.