Menu

#3 Bug after parsing ends

open
nobody
None
5
2011-07-31
2011-07-31
No

After the parsing ends, the reader still holds a reference to the file that has been parsed, thus not allowing other operations on that file (e.g. deleting it). I think this would be fixed (I did it locally and it works for now) if you add reader.Close(); in Digester.css, just before the return statement.

i.e.

// Perform final cleanup
Clear();
reader.Close();
return root;

Discussion


Log in to post a comment.