Fixed leaked io connection
This commit is contained in:
parent
97a64401e8
commit
caa0de84ce
@ -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…
x
Reference in New Issue
Block a user