mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
新增定时器组关闭接口
This commit is contained in:
@@ -196,3 +196,8 @@ func (fg *FrameGroup) CancelTimer(timerID FrameTimerID) {
|
|||||||
fg.preGlobalFrameNum = 0
|
fg.preGlobalFrameNum = 0
|
||||||
fg.refreshMinFrame()
|
fg.refreshMinFrame()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (fg *FrameGroup) Close(){
|
||||||
|
fg.ft.removeGroup(fg.groupID, fg.preGlobalFrameNum)
|
||||||
|
delete(fg.ft.mapGroup,fg.groupID)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user