Kaydet (Commit) a4f72f9a authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: call destroy only if the document exists

Change-Id: Ia9459151ac46a8be0f9a3944f2bcd427435c284e
üst 316afc9b
......@@ -157,8 +157,10 @@ public class LOKitTileProvider implements TileProvider {
@Override
public void close() {
Log.i(LOGTAG, "Document destroyed: " + mInputFile);
if (mDocument != null) {
mDocument.destroy();
}
}
@Override
public void changePart(int partIndex) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment