Skip to content

Commit

Permalink
fix NgResponseWriter.Close called twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhaoxx committed Feb 21, 2024
1 parent acaed77 commit d924cfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func (c *HttpCtx) Close() {
f(c)
}

c.Resp.Close()
close(c.closing)
}
func (c *HttpCtx) IsClosing() <-chan struct{} {
Expand Down

0 comments on commit d924cfb

Please sign in to comment.