【循环滚动】修复快速切换报错

dev_chengFeng
gaoxin 2021-06-03 18:10:15 +08:00
parent e77c978e6e
commit 02f02206ca
1 changed files with 4 additions and 0 deletions

View File

@ -247,6 +247,10 @@ function ScrollCycleView:OnClose()
self.goItemList = {}
self.goItemDataRefList = {}
self.dataList = {}
if self.co then
coroutine.stop(self.co)
self.co = nil
end
end