mirror of
https://github.com/golang/go
synced 2024-11-24 16:20:13 -07:00
net: delete debugging print
Fixes #3030. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5689071
This commit is contained in:
parent
0427c583a5
commit
213997a730
@ -252,7 +252,9 @@ func (s *pollServer) Run() {
|
||||
} else {
|
||||
netfd := s.LookupFD(fd, mode)
|
||||
if netfd == nil {
|
||||
print("pollServer: unexpected wakeup for fd=", fd, " mode=", string(mode), "\n")
|
||||
// This can happen because the WaitFD runs without
|
||||
// holding s's lock, so there might be a pending wakeup
|
||||
// for an fd that has been evicted. No harm done.
|
||||
continue
|
||||
}
|
||||
s.WakeFD(netfd, mode, nil)
|
||||
|
Loading…
Reference in New Issue
Block a user