@socketio.on('disconnect', namespace='/jobs')
def on_disconnect_jobs():
 pass

@ socketio . on ( 'disconnect' , namespace = '/jobs' ) def on_disconnect_jobs ( ) : pass
somebody disconnected from a jobs page .