Closed
Description
Version
- Phaser Version: 3.60.0
- Operating system: win11
- Browser: Chrome, firefox
Description
Example Test Code
See this test
- Start a timer first time
- Start the same timer under time-out callback (Case A)
This timer can't start at the same tick with time-out. In this case, timer is added to
_pendingRemoval
and _pendingInsertion
both, and been destroyed, clear callback. Therefore no callback available in next time-out.
A workaround is start this timer at next tick (Case B), new callback is set after destroyed
Metadata
Assignees
Labels
No labels