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

Loading…
Cancel
Save