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

Prevent events from running more than one time #187

Merged
merged 8 commits into from
Oct 21, 2021
Merged

Conversation

berinhard
Copy link
Owner

Fixes #164

This PR updates Pyodide's base code to use the same strategy as Transcryp mode to register event functions. This also opens path for a major refactoring to unify the base code from both modes and avoid such type of problem.

This PR also adds the keyIsDown event to transcrypt mode.

@berinhard berinhard merged commit 0c8e554 into develop Oct 21, 2021
@berinhard berinhard deleted the issue/164 branch October 21, 2021 20:55
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.

Event functions seem to be running more times than expected
1 participant