Browse Source

Fixed leaked io connection

master
Anthony Restaino 9 years ago
parent
commit
caa0de84ce
  1. 1
      app/src/main/java/acr/browser/lightning/object/SearchAdapter.java

1
app/src/main/java/acr/browser/lightning/object/SearchAdapter.java

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

Loading…
Cancel
Save