Remove all attached non-permanent events from the event handler.
---@type Event local event; event.RemoveAllListeners()