Delete audio resource

I have a simple system where an audio file is created, and then immediately turned into an audio resource. But it seems like creating an audioResource locks the file. How can I close the file handle to change the file? I obviously don't want to accumulate old unused files.
Was this page helpful?