def client_end_all():
 for (request, socket, context) in CLIENTS.values()[:]:
  client_end(request, socket, context)

def client_end_all ( ) : for ( request , socket , context ) in CLIENTS . values ( ) [ : ] : client_end ( request , socket , context )
performs cleanup on all clients - called by runserver_socketio when the server is shut down or reloaded .