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

Loading…
Cancel
Save