swoole-yii2 icon indicating copy to clipboard operation
swoole-yii2 copied to clipboard

某些组件中存在全局变量或者static变量时,不同的请求都引用同一个内存地址,会出错吧,还是有什么好的方案

Open bingcool opened this issue 7 years ago • 1 comments

bingcool avatar Jun 23 '17 06:06 bingcool

类似Widget的ID计数器那里就有你说的问题,现在的做法是在请求结束后手动清空这些数据。

tourze avatar Jun 23 '17 19:06 tourze