Skip to content

Commit 552490a

Browse files
committed
Issue nostra13#602: Prevent IOException suppressing at the end of file copying
1 parent e0df59b commit 552490a

File tree

1 file changed

+1
-0
lines changed
  • library/src/com/nostra13/universalimageloader/utils

1 file changed

+1
-0
lines changed

library/src/com/nostra13/universalimageloader/utils/IoUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static boolean copyStream(InputStream is, OutputStream os, CopyListener l
7474
current += count;
7575
if (shouldStopLoading(listener, current, total)) return false;
7676
}
77+
os.flush();
7778
return true;
7879
}
7980

0 commit comments

Comments
 (0)