修复注册的事件未被清理的问题

This commit is contained in:
lyswhut
2024-04-02 11:07:50 +08:00
parent 274f71615f
commit e60c2f5f19
12 changed files with 36 additions and 47 deletions
@@ -231,7 +231,7 @@ export default class LinePlayer {
timeoutTools.cancelNextTick = window.cancelAnimationFrame.bind(window)
} else {
timeoutTools.nextTick = (handler) => {
return setTimeout(handler, 80)
return setTimeout(handler, 20)
}
timeoutTools.cancelNextTick = clearTimeout.bind(global)
}