Attempt to fix PostForm cache bug

This commit is contained in:
thinkerou 2019-06-06 09:38:53 +08:00
parent 73c4633943
commit 561a4fd12c

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.