When I do manager.close_all () it starts the closing sequence. If I do manager.join () it blocks and waits for the manager thread to stop. But the manager is never waiting for all managed client threads to stop and corresponding closed () callbacks are never called. How do I make the manager wait for (or join) all threaded clients to close completely and stop gracefully?
When I do
manager.close_all ()
it starts the closing sequence. If I domanager.join ()
it blocks and waits for the manager thread to stop. But the manager is never waiting for all managed client threads to stop and correspondingclosed ()
callbacks are never called. How do I make the manager wait for (or join) all threaded clients to close completely and stop gracefully?