When working with User Events as an API between modules there is a nasty little thing which unfortunately keeps rearing its ugly head.
If we retrieve a cluster of User Events (or an Event registration refnum) from a module with events we should be listening to and wire this to an event structure we get a memory leak if not all events are handled. This particularly occurs whenever the API is extended and not all listeners have been updated.
It would be much easier to track down these kinds of problems if the Event Structure would display which User Events are in the associated Registration Refnum but are NOT yet handled. This would be a great too in tracking down rogue Events and eliminating possible memory leaks due to implementation errors.
Currently one has to iterate through ALL of the user events and observe the warning "this event is handled in another case" in order to find out if all have been handled or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.