Spatial "Sky Render"

Close File Handles, and attempted to GC the CompassReader.
This commit is contained in:
AlgorithmX2
2014-03-15 14:53:00 -05:00
parent d4ff8e731d
commit 0e46690c50
3 changed files with 139 additions and 0 deletions
+7
View File
@@ -232,6 +232,13 @@ public class CompassService implements ThreadFactory
try
{
executor.awaitTermination( 6, TimeUnit.MINUTES );
for (CompassReader cr : worldSet.values())
{
cr.close();
}
worldSet.clear();
}
catch (InterruptedException e)
{