Closed GoogleCodeExporter closed 8 years ago
I took a look at this. At first I thought, ooh bad. And it's true, in
ArmitageMain.java, I do not release the resource. However, in the Sleep code, I
do.
$handle = [SleepUtils getIOHandle: resource("resources/eventlog.style"), $null];
$style = join("\n", readAll($handle));
closef($handle);
A few places, I do not close the resource returned, but these places are
one-time use (e.g., loading preferences, loading app icon, etc.). The only
occurrence of this that bothers me is:
gui.sl:293
This is probably safe too given that I cache rendered icons, but I plan to
correct this line and close this ticket once I do.
Original comment by rsmu...@gmail.com
on 5 Feb 2013 at 9:07
Original comment by rsmu...@gmail.com
on 7 Feb 2013 at 8:15
Original issue reported on code.google.com by
omgcloud...@hotmail.com
on 5 Jun 2011 at 8:53