(fix) Prevent calling the event data's destructor twice.