Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#225 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
networking

Direzione di ricerca

The issue names WebSocketManager.close_all(), join(), and threaded WebSocketClient instances. Start by tracing those shutdown and join paths, then reproduce the reported behavior to identify where client termination and closed() callbacks are handled. Done means the manager waits for all managed clients to stop gracefully and their callbacks are invoked.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
1.1k
Fork
286
Merge medio
1g 19h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Lawouach/WebSocket-for-Python

Tutte le issue di Lawouach/WebSocket-for-Python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.