ScriptCraft icon indicating copy to clipboard operation
ScriptCraft copied to clipboard

Unregister player (in classroom module) interval and timeout on refresh

Open Gloorf opened this issue 8 years ago • 0 comments

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.

Gloorf avatar Oct 03 '17 14:10 Gloorf