[BFAV] "Couldn't delete old version of file" exception revisited

tim Rowledge tim at sumeru.stanford.edu
Fri Feb 27 02:37:20 UTC 2004


Typically what happens to cause this is a filestream gets left open and 
is awaiting execution by the registry. A garbage collect will detect the 
    weak oop and cause the executor to run, closing the file and 
releasing the FILE pointer in the VM. Then you can delete the file.

Most likely the answer is a simple code change to make sure the file is 
  closed explicitly.

tim




More information about the Squeak-dev mailing list