Scrivener doesn't seem to release all TXT files when closing

When closing a project in Scrivener, I am often unable to delete the file completely until after quitting Scrivener. The error message suggests that not all of the TXT.rtf files have been closed and released.

This doesn’t occur all the time - I am not sure yet under what circumstances a TXT.rtf file doesn’t get released.

I’ll keep looking, and perhaps any one else experiencing this can suggest the required conditions.

Fletcher

I just double checked and it turns out that I was missing an [rtfd release] in my text loading methods. The problem would have been with notes RTFD files only, as I was calling [rtfd release] for the files loaded for the main text. Hopefully this will fix the issue, as everything else is released properly and this would (I think) explain the issue.
All the best,
Keith