give braid a dedicated docker repo
This commit is contained in:
@ -38,6 +38,17 @@ class ClientBase {
|
||||
channel.broadcastMessage(this, message);
|
||||
logger.accessLog.info(`broadcast complete on channel ${channel.id}: `, {message: message});
|
||||
});
|
||||
|
||||
this.ws.on('close', (reasonCode: string, description: string) => {
|
||||
logger.accessLog.info(`closing connection for client ${this.id}`);
|
||||
|
||||
if (this.channel) {
|
||||
this.channel.removeClient(this.id);
|
||||
}
|
||||
|
||||
// server.clientManager.removeClient(this.id);
|
||||
logger.accessLog.info(`closed connection for client ${this.id}`);
|
||||
});
|
||||
}
|
||||
|
||||
replaceWebSocket(ws: WebSocket) {
|
||||
|
Reference in New Issue
Block a user