Commit 788acbca authored by nanahira's avatar nanahira

fix

parent 2400c417
Pipeline #43119 passed with stages
in 1 minute and 56 seconds
......@@ -59,6 +59,7 @@ export abstract class Client {
takeUntil(this.disconnect$),
share(),
);
return this;
}
disconnect() {
......
......@@ -36,10 +36,8 @@ export class ClientHandler {
private logger = this.ctx.createLogger('ClientHandler');
async handleClient(client: Client): Promise<void> {
client.init();
try {
client.init();
client.receive$.subscribe(async (msg) => {
client.init().receive$.subscribe(async (msg) => {
try {
await this.ctx.dispatch(msg, client);
} catch (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment