Defect #249
Files left open
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/18/2011
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Description
Hi, when testing templates I edit the HTML and want to test the result. Quite often, I get a file access violation. It seems that html files are left open?
History
Updated by Patrick Talbot about 14 years ago
They shouldn't be left open (unless there is a crash of Servoy).
Will double-check my use of finally on all file stream opened.
Thanks.
Updated by Patrick Ruhsert about 14 years ago
hm. I still have this issue. All I do is use a template test.html and show it in the viewer using the sample solution. Every once in a while I am not able to edit/save my test.html.
Updated by Patrick Talbot about 14 years ago
There must be another place in Velocity where the template is not released because I only open it in one place and I made sure to have a finally clause with a close() on the reader... Will have another look