Attempt to fix PostForm cache bug (#1931)

This commit is contained in:
田欧 2019-06-12 21:07:15 +08:00 committed by GitHub
parent 73c4633943
commit 75b9d2bed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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.