pull/969/merge
MrFeng 3 years ago committed by GitHub
commit 87a5c8a28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      HttpComponent/src/main/java/com/arialyy/aria/http/download/HttpDThreadTaskAdapter.java

@ -131,6 +131,7 @@ final class HttpDThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
} finally {
try {
if (file != null) {
file.flush();
file.close();
}
if (is != null) {
@ -173,6 +174,7 @@ final class HttpDThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
} finally {
if (fos != null) {
try {
fos.flush();
fos.close();
} catch (IOException e) {
e.printStackTrace();

Loading…
Cancel
Save