koajs/session

Should update the prevHash in context when calling ctx.session.mauallyCommit()

tangye1234 opened this issue · 0 comments

When I manually commit, which is possibly at the time when I need to set ctx.respond = false,
The autoCommit functioning part still tries to commit again, event if the session is not changed.

The reason is the prevHash is not updated when committing due to the reason 'changed'?