Skip to content

Commit

Permalink
Merge pull request #404 from liwnn/fix-bad-file-descriptor
Browse files Browse the repository at this point in the history
fix: "bad-file-descriptor" occurs when close Websocket connection
  • Loading branch information
lesismal authored Mar 16, 2024
2 parents 0af6f80 + 518f0db commit e4ffe7d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions poller_epoll.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,6 @@ func (p *poller) readWriteLoop() {
c.closeWithError(io.EOF)
continue
}
} else {
syscall.Close(fd)
// p.deleteEvent(fd)
}
}
}
Expand Down

0 comments on commit e4ffe7d

Please sign in to comment.