Can you describe what you are doing.
While you can release the record there are other approaches.
For interrupt handling, OSVVM has an interrupt handler. See the common (MIT) repository in OsvvmLibraries.
You can also directly access OSVVM memories – no transaction record required
Out teaching OSVVM this week so it is harder to give exact file references