Noop tweak to DefaultHttpDataSource

This commit is contained in:
Oliver Woodman 2015-07-21 10:05:22 +01:00
parent e7950555d3
commit 5df6854fea

View File

@ -272,13 +272,13 @@ public class DefaultHttpDataSource implements HttpDataSource {
}
}
} finally {
inputStream = null;
closeConnection();
if (opened) {
opened = false;
if (listener != null) {
listener.onTransferEnd();
}
inputStream = null;
closeConnection();
}
}
}