Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Timer.stop() #1839

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Simplify Timer.stop() #1839

wants to merge 2 commits into from

Conversation

NeeEoo
Copy link

@NeeEoo NeeEoo commented Sep 6, 2024

Simplified the stop() method in haxe/Timer.hx by removing redundant iterations and updated NativeApplication.hx to only run on active timers.

NeeEoo and others added 2 commits September 6, 2024 03:20
We aren't using `i`, so we can iterate over the array normally. And there are no longer null entries, so we don't have to check for those.
@NeeEoo
Copy link
Author

NeeEoo commented Sep 6, 2024

Ah thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants