Spatial "Sky Render"
Close File Handles, and attempted to GC the CompassReader.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user