You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// closeNow immediately closes the subject channel. This can safely be called
// multiple times as it will only attempt to close the channel at most once.
func (t *delayedCloser) closeNow() {
t.once.Do(func() {
close(t.subject) // This is where the panic came from, It would have been safer to check if the channel is closed before attempting.
})
}
The text was updated successfully, but these errors were encountered: