@@ -61,6 +61,7 @@ type state[P constraints.Ordered, T any] struct {
func(s*state[P,T])Close(){
s.mu.Lock()
ifs.closed{
s.mu.Unlock()
panic("close of closed queue")
}
s.closed=true
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.