This commit is contained in:
qiji4215 2023-09-15 16:15:53 +08:00
commit 934ece1df4
3 changed files with 5 additions and 5 deletions

View File

@ -74,11 +74,11 @@ public class OMDBReferenceDataSource implements ITileDataSource {
mThreadLocalDecoders.get().decode(tile.zoomLevel, tile, mapDataSink, listResult);
mapDataSink.completed(QueryResult.SUCCESS);
} else {
mapDataSink.completed(QueryResult.TILE_NOT_FOUND);
mapDataSink.completed(QueryResult.SUCCESS);
}
Realm.getInstance(MapParamUtils.getTaskConfig()).close();
} else {
mapDataSink.completed(QueryResult.TILE_NOT_FOUND);
mapDataSink.completed(QueryResult.SUCCESS);
}
}

View File

@ -72,11 +72,11 @@ public class OMDBTileDataSource implements ITileDataSource {
mThreadLocalDecoders.get().decode(tile.zoomLevel, tile, mapDataSink, listResult);
mapDataSink.completed(QueryResult.SUCCESS);
} else {
mapDataSink.completed(QueryResult.TILE_NOT_FOUND);
mapDataSink.completed(QueryResult.SUCCESS);
}
Realm.getInstance(MapParamUtils.getTaskConfig()).close();
} else {
mapDataSink.completed(QueryResult.TILE_NOT_FOUND);
mapDataSink.completed(QueryResult.SUCCESS);
}
}

2
vtm

@ -1 +1 @@
Subproject commit 3ea6a7c90627e6e8ea10b3896004d9082167a7ff
Subproject commit d1ac330cf7a8727bb2065093e72d60521775ba6d