diff --git a/cmd/minstrel/main.go b/cmd/minstrel/main.go index 252772a4..96fddca7 100644 --- a/cmd/minstrel/main.go +++ b/cmd/minstrel/main.go @@ -484,7 +484,7 @@ func run() error { // Shutdown waits for in-flight requests but never cancels them, and an // SSE stream only ends when its client leaves. Closing the bus ends // every stream as shutdown begins, so the drain waits only on real work - // such as an audio stream; clients reconnect to the next instance (#5293). + // such as an audio stream; clients reconnect to the next instance. httpServer.RegisterOnShutdown(bus.Close) errCh := make(chan error, 1) diff --git a/internal/eventbus/eventbus_test.go b/internal/eventbus/eventbus_test.go index a5e267d3..ea8d4ef7 100644 --- a/internal/eventbus/eventbus_test.go +++ b/internal/eventbus/eventbus_test.go @@ -150,7 +150,7 @@ func TestPublish_ConcurrentWritersAndSubscribers(t *testing.T) { } // Close is what lets the server shut down with SSE clients connected: each -// stream returns when its channel closes (#5293). +// stream returns when its channel closes. func TestClose_EndsEverySubscription(t *testing.T) { t.Parallel() b := New()