Event.findInstances() remembers deleted events

It seems like doing something like:

var events = studio.project.model.Event.findInstances();

Remembers events that have been deleted in the project, until you restart FMOD. I am working on a script that checks through all event names - but it can be a bit annoying that if you delete an event, the script still thinks it exists in the project.
Is there a way to “reset” the events saved in memory that FMOD uses to findInstances, so I only find the events that actually exist in the project?

Oh never mind I figured it out - using if (parameters[i].isValid) works for checking that :slight_smile: