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

Fix schedule_unique and unschedule #54

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Fix schedule_unique and unschedule #54

merged 1 commit into from
Dec 20, 2021

Conversation

ginkulv
Copy link
Contributor

@ginkulv ginkulv commented Dec 19, 2021

Right now these two functions are straight up broken. Code to reproduce:

using GameZero 
using Colors 

function draw() end 
function update() end 

function test() end 

schedule_unique(test, 1)
# or
unschedule(test)

@aviks
Copy link
Owner

aviks commented Dec 20, 2021

Thanks. Yes, this bit is not very well tested. I'll add an example to exercise this.

@aviks aviks merged commit d9f44bc into aviks:master Dec 20, 2021
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