On Sat Jun 10 20:53:47 2023 +0000, Esme Povirk wrote:
Can this happen? I think the event_map_entry would always hold a reference to the event.
Technically no, this _shouldn't_ happen. At one point I accidentally tested using an HUIAEVENT after it had already had `UiaRemoveEvent` called on it, and not checking this was causing it to segfault. Since that's technically undefined behavior, I guess having this check around is more confusing than helpful. I'll remove it then.