Jon,
in the latest build, 2176, there’s a bug with regard to holding onto file descriptors of open files on Windows (Windows 7 in my case).
Test case:
- Create a directory, say C:\Test
- Create a document in said directory, say C:\Test\Test.txt
- Open it in SublimeText 2
- Close the file with SublimeText 2 and keep SublimeText 2 open
- Delete the file
- Go up to C:\
- Delete the directory and get greeted with a message that there’s still a program using this directory.
- Close SublimeText 2 and delete the directory, which now works
So it seems SublimeText 2 is holding some file descriptor to either the file or directory around.