On Nov 17, 2012, at 12:37 PM, Paul Johnson <p...@all-the-johnsons.co.uk> wrote:
> I seem to have hit a snag. An app I'm working on for a bit of fun creates an 
> XML file with bits of information in needed for the next time it's run. 
> However, on a small number of phones, it dies leaving the file open.
> 
> Is there a way I can check on the state of this file the next time the app is 
> run and if it's open, close it before it's used?

This seems...odd. Mono disabled shared file handles in Mono 2.8 [0]; Mono for 
Android is based on Mono 2.10, and likewise should not support cross-process 
shared file handles. The only process you should be able to have problems 
sharing handles with is itself, and if the process exited ("dies"), that 
shouldn't be a problem.

Is it possible for you to create a reproducible test case and file a bug for 
this?

Thanks,
 - Jon

[0]: 
http://www.mono-project.com/Release_Notes_Mono_2.8#Shared_handles_are_disabled_by_default

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to