fix sending on close channel with yet another mutex.

This commit is contained in:
fiatjaf
2025-08-23 09:16:12 -03:00
parent 6d4ef9df85
commit 31a590ee4f
3 changed files with 20 additions and 5 deletions

View File

@@ -471,7 +471,7 @@ func (pool *Pool) subMany(
subscribe:
sub, err = relay.Subscribe(ctx, filter, opts)
if err != nil {
debugLogf("[pool] subscription to %s died: %s -- will retry\n", nm, err)
debugLogf("[pool] subscription to %s failed: %s -- will retry\n", nm, err)
goto reconnect
}