khatru: get rid of subrelays + segregated indexed listeners.

This commit is contained in:
fiatjaf
2026-03-29 11:14:22 -03:00
parent 56610a32e6
commit ac2d4579f1
12 changed files with 425 additions and 641 deletions
+1 -1
View File
@@ -61,5 +61,5 @@ func (rl *Relay) Shutdown(ctx context.Context) {
ws.conn.Close()
}
clear(rl.clients)
rl.listeners = rl.listeners[:0]
rl.dispatcher = newDispatcher()
}