[Project_owners] File Removal / Permissions errors

Brian King brian at mozdev.org
Sat Apr 22 23:27:40 EDT 2006

Nickolay Ponomarev wrote:

> Have you checked the permissions? Have you tried separating the
> fileObj.remove call into a separate function and calling it when
> you're sure the app doesn't have the lock? Have you tried tracking the
> issue down in a debug build?

I tracked it down and the issue was that the function doing the delete 
was being called from more than one place at the same time (via 
callbacks). So they seemed to be shutting themselves out. It was 
resolved by reducing the number of calls to 1.

Brian King
www.mozdev.org - free project hosting for the Mozilla community

More information about the Project_owners mailing list