时间销毁

jiaoyangna 2020-09-28 05:01:06 +08:00
parent a6fd0d2aa6
commit 349316e2d7
1 changed files with 4 additions and 1 deletions

View File

@ -151,7 +151,10 @@ function this:OnSortingOrderChange(sortingOrder)
end end
function this:OnClose() function this:OnClose()
if self.timer then
self.timer:Stop()
self.timer = nil
end
end end
function this:OnDestroy() function this:OnDestroy()
if self.timer then if self.timer then