-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
view-engine包中的loop是不是存在数据错乱的可能 #6921
Labels
question
Further information is requested
Comments
这个问题没人知道吗? @limingxinleo @huangzhhui |
这个有用到么? |
在模板中有用到,并且我还发现 Hyperf\ViewEngine\Factory 里面的 shared 属性可能会有同样的问题。在 Hyperf\ViewEngine\Http\Middleware\ShareErrorsFromSession 里面
这个中间件是每个请求都会执行的,这个 errors 不会被覆盖吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这里的 $loopsStack 是所有携程共用的,如果 A协程往其中写入数据 a, B协程往其中写入数据b,然后再有多个携程区获取当前的loop,是不是获取到的可能不是自己协程的数据
The text was updated successfully, but these errors were encountered: