Fix crash
This commit is contained in:
parent
065668b72d
commit
d6c19824b8
1 changed files with 3 additions and 1 deletions
|
@ -1041,8 +1041,10 @@ public class ResourceManager {
|
|||
indexFileNames.remove(fileName);
|
||||
renderer.closeConnection(fileName);
|
||||
BinaryMapReaderResource resource = fileReaders.remove(fileName);
|
||||
if(resource != null) {
|
||||
resource.close();
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void close(){
|
||||
imagesOnFS.clear();
|
||||
|
|
Loading…
Reference in a new issue