PhysicsJS
PhysicsJS copied to clipboard
error prevention
after calling off(true) and clearing all listeners, var listeners set in on() function is not cleared. This could cause errors when calling functions desired to be unsubscribed.