Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

Commit 3ab683c

Browse files
committed
#DEVELOP: DFCompositeImageTask: fix mutating during enumeration when resuming tasks
1 parent eba7134 commit 3ab683c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DFImageManager/Source/Core/Utilities/DFCompositeImageTask.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ - (void)resume {
7070
}
7171
}];
7272
}
73-
for (DFImageTask *task in _remainingTasks) {
73+
for (DFImageTask *task in [_remainingTasks copy]) {
7474
[task resume];
7575
}
7676
}

0 commit comments

Comments
 (0)