Fixed leaked io connection

This commit is contained in:
Anthony Restaino 2016-03-09 22:46:00 -05:00
parent 97a64401e8
commit caa0de84ce

View File

@ -413,6 +413,7 @@ public class SearchAdapter extends BaseAdapter implements Filterable {
}
fos.flush();
}
connection.disconnect();
cacheFile.setLastModified(System.currentTimeMillis());
} catch (Exception e) {
e.printStackTrace();