Skip to content

Commit

Permalink
Delete pending missions with invalid storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Jul 21, 2021
1 parent fd4e1b8 commit a9e21a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private void loadPendingMissions(Context ctx) {
if (sub.getName().equals(".tmp")) continue;

DownloadMission mis = Utility.readFromFile(sub);
if (mis == null || mis.isFinished()) {
if (mis == null || mis.isFinished() || mis.hasInvalidStorage()) {
//noinspection ResultOfMethodCallIgnored
sub.delete();
continue;
Expand Down

1 comment on commit a9e21a3

@esdnm
Copy link

@esdnm esdnm commented on a9e21a3 Jun 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this is the source of #7059?

Please sign in to comment.