Skip to content

Commit

Permalink
Disconnect HttpURLConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
thest1 committed Jan 20, 2013
1 parent 232d7f6 commit 0f37d10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/fedorvlasov/lazylist/ImageLoader.java
Expand Up @@ -74,6 +74,7 @@ private Bitmap getBitmap(String url)
OutputStream os = new FileOutputStream(f);
Utils.CopyStream(is, os);
os.close();
conn.disconnect();
bitmap = decodeFile(f);
return bitmap;
} catch (Throwable ex){
Expand Down

0 comments on commit 0f37d10

Please sign in to comment.