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

Wakeup not discarding itself or cancelling #179

Open
TheConsciousness opened this issue Nov 11, 2016 · 0 comments
Open

Wakeup not discarding itself or cancelling #179

TheConsciousness opened this issue Nov 11, 2016 · 0 comments

Comments

@TheConsciousness
Copy link

I had a Wakeup scheduled for 5 minutes from the time of scheduling. I happened to have the screen on when the Wakeup was meant to fire, so it missed its wakeup time. Now there is a Wakeup scheduled for an hour ago that is still looming in memory.

I've tried to:
Wakeup.each(function(e) { Wakeup.cancel(e); Wakeup.cancel(e.id); console.log(e.id + " canceled"); }); Wakeup.cancel('all');
Each time this is called, I am returned the Wakeup's ID, so I know it is still there.
How do I go about removing this Wakeup from memory?

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

No branches or pull requests

1 participant