Skip to content

Conversation

@Gloorf
Copy link

@Gloorf Gloorf commented Oct 3, 2017

Currently with the classroom module, events registered by an user are unregistered on reload, which is a really, really, really useful feature (as you don't need to do it yourself or refresh() if you forgot to do it yourself). Unfortunately, this doesn't apply for interval and timeout, resulting in many many refresh() to remove those old interval.

This let the classroom module unregister player-defined interval and timeout, in the same way events handlers are unregistered.

Works like player events unregister on refresh, while maintaining the
ability to clear them manually
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.

1 participant