Crash on device : Deny file-write-create

Hi,

I’ve a bug with multitask since two weeks that I can’t manage alone.

I’ve an SQLite Database, located in the Documents Directory. With a system Event I close it every time the application exit or suspend.

I’ve also two configurations files (also in the Documents directory) that I open sometimes in the app and close right after. on each function trying to open one of the files, I check a boolean which is set to false when the system Event is applicationExit or applicationSuspend.

BUT each time I quit the application I’ve this error :

deny file-write-create /private/var/stash/Applications.pwn/.dat1b0d.00f

and there is no errors when I resume the applications.

This error is displayed in the console of the device, and does not affect the game. But I suspect that a crash like that would not be appreciated by the app store reviewers.

Thanks for your help! [import]uid: 45996 topic_id: 10212 reply_id: 310212[/import]

? [import]uid: 45996 topic_id: 10212 reply_id: 37769[/import]