Commit dc5bcf57 authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent 7bff1021
...@@ -28,7 +28,6 @@ export class Router { ...@@ -28,7 +28,6 @@ export class Router {
constructor(config: Partial<Router>) { constructor(config: Partial<Router>) {
Object.assign(this, config); Object.assign(this, config);
this.reset();
} }
reset() { reset() {
...@@ -149,3 +148,7 @@ export class Router { ...@@ -149,3 +148,7 @@ export class Router {
return socket.send(JSON.stringify(message), this.rinfo.port, this.rinfo.address); return socket.send(JSON.stringify(message), this.rinfo.port, this.rinfo.address);
} }
} }
for (const router of Router.all) {
router.reset();
}
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