def on_disconnect(self, callback, *args, **kwargs):
        self._on_disconnect.append((callback, args, kwargs))
Append to list of callbacks when the socket is closed, to do some
dataset/ETHPy150Open abourget/pyramid_socketio/pyramid_socketio/io.py/SocketIOContext.on_disconnect