mbohun / biolink

Automatically exported from code.google.com/p/biolink
0 stars 0 forks source link

Modelling #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When modelling species. The first species runs fine. If you delete the data set 
and load another set of points and run, it crashes. If you close the tool and 
reopen and reload points, runs fine.

Original issue reported on code.google.com by southern...@gmail.com on 6 Aug 2012 at 4:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1291.

Original comment by david.ba...@gmail.com on 9 Aug 2012 at 8:02

GoogleCodeExporter commented 9 years ago
I could reproduce this problem only by closing the map tool in between each 
run. If the map tool is left open the modelling code explicitly removes the old 
model layer, and adds the new one using the same temporary file name. When the 
map tool is closed, however, some objects are obviously left lying around that 
hold a reference open on the temporary file, hence the error. The fix to this 
issue (which will be included in build  540) was to explicitly release (or 
dispose) the files held by each layer when the map tool is closed

Original comment by david.ba...@gmail.com on 9 Aug 2012 at 8:07