Pārlūkot izejas kodu

Attempt to fix PostForm cache bug (#1931)

田欧 6 gadi atpakaļ
vecāks
revīzija
75b9d2bed7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      context.go

+ 1 - 0
context.go

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