Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

func (ctx *RequestCtx) reset() maybe need add ctx.next = false #58

Closed
imxxiv opened this issue Dec 19, 2019 · 2 comments
Closed

func (ctx *RequestCtx) reset() maybe need add ctx.next = false #58

imxxiv opened this issue Dec 19, 2019 · 2 comments

Comments

@imxxiv
Copy link

imxxiv commented Dec 19, 2019

in context.go file

func (ctx *RequestCtx) reset() {
	ctx.skipView = false
	ctx.RequestCtx = nil
}

maybe need add ctx.next = false

func (ctx *RequestCtx) reset() {
	ctx.next = false
	ctx.skipView = false
	ctx.RequestCtx = nil
}
@savsgio
Copy link
Owner

savsgio commented Dec 20, 2019

Hi @imxxiv,

Yes, it's needed to add it in Reset().

If you want, you could make a PR or I can fix it.

Thanks.

@savsgio
Copy link
Owner

savsgio commented Dec 21, 2019

I've just been fix it.

Thanks

@savsgio savsgio closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants