mirror of https://github.com/zlatinb/muwire
unmap before flushing
parent
fa9c697bfa
commit
a78d8c84ca
|
@ -76,11 +76,11 @@ class ContentUploader extends Uploader {
|
|||
done = true
|
||||
} finally {
|
||||
try {channel?.close() } catch (IOException ignored) {}
|
||||
endpoint.getOutputStream().flush()
|
||||
synchronized(this) {
|
||||
DataUtil.tryUnmap(mapped)
|
||||
mapped = null
|
||||
}
|
||||
endpoint.getOutputStream().flush()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue