Fix the way remove all elements from pointer array
This commit is contained in:
parent
91ff801611
commit
ac5ec6997c
|
@ -134,9 +134,7 @@ static char animationLoadOperationKey;
|
|||
[operation cancel];
|
||||
}
|
||||
}
|
||||
for (size_t i = 0; i < operationsArray.count; i++) {
|
||||
[operationsArray removePointerAtIndex:i];
|
||||
}
|
||||
operationsArray.count = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue