Pret-ty stoopid

Ach, jongens toch. Hoe kan een mens zo stóm zijn?

if (settings==null) { return new Hashtable(); }
stream.Close();
isoFile.Close();
return settings;

En dan verwonderd zijn dat ik een The process cannot access the file dinges.dat because it is being used by another process-fout krijg.

Het helpt natuurlijk als ik de IsolatedStorageFile en de IsolatedStorageFileStream ook sluit als de settings null zijn.

*hits self in head*