Fix same issue than branch Master issue #290 for branch 3
This commit is contained in:
parent
5ef153f4c1
commit
1313300264
@ -200,8 +200,8 @@ public abstract class AbstractMemoryHttpData extends AbstractHttpData {
|
||||
int written = 0;
|
||||
while (written < length) {
|
||||
written += fileChannel.write(byteBuffer);
|
||||
fileChannel.force(false);
|
||||
}
|
||||
fileChannel.force(false);
|
||||
fileChannel.close();
|
||||
isRenamed = true;
|
||||
return written == length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user