Comment 7 for bug 1822063

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

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.