WebSocket-for-Python icon indicating copy to clipboard operation
WebSocket-for-Python copied to clipboard

WebSocketManager: how to gracefully close and join all threaded WebSocketClients?

Open kroitor opened this issue 6 years ago • 0 comments

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?

kroitor avatar Aug 06 '17 10:08 kroitor