Commit 987fae79 authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent 76b49175
...@@ -21,7 +21,7 @@ export class Router { ...@@ -21,7 +21,7 @@ export class Router {
reset() { reset() {
this.seq = 0; this.seq = 0;
this.peers = {}; this.peers = {};
for (const router of Router.all) { for (const router of Router.all.filter(r => r.id !== this.id)) {
this.via.set(router, router); this.via.set(router, router);
} }
} }
......
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