Skip to content

Commit

Permalink
Attempt to fix PostForm cache bug (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou authored Jun 12, 2019
1 parent 73c4633 commit 75b9d2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (c *Context) reset() {
c.Errors = c.Errors[0:0]
c.Accepted = nil
c.queryCache = nil
c.formCache = nil
}

// Copy returns a copy of the current context that can be safely used outside the request's scope.
Expand Down

0 comments on commit 75b9d2b

Please sign in to comment.