ソースを参照

Attempt to fix PostForm cache bug (#1931)

田欧 6 年 前
コミット
75b9d2bed7
1 ファイル変更1 行追加0 行削除
  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.