summaryrefslogtreecommitdiff
path: root/src/pkg/net/textproto/pipeline.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/textproto/pipeline.go')
-rw-r--r--src/pkg/net/textproto/pipeline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/textproto/pipeline.go b/src/pkg/net/textproto/pipeline.go
index 8c25884b3..ca50eddac 100644
--- a/src/pkg/net/textproto/pipeline.go
+++ b/src/pkg/net/textproto/pipeline.go
@@ -108,7 +108,7 @@ func (s *sequencer) End(id uint) {
}
c, ok := s.wait[id]
if ok {
- s.wait[id] = nil, false
+ delete(s.wait, id)
}
s.mu.Unlock()
if ok {