AdvancedNSOperations icon indicating copy to clipboard operation
AdvancedNSOperations copied to clipboard

Check all array insertions to prevent adding a nil value

Open kas-kad opened this issue 9 years ago • 2 comments

Check all array insertions to prevent adding a nil value

kas-kad avatar Jul 14 '15 20:07 kas-kad

https://github.com/purrrminator/AdvancedNSOperations/blob/master/Operations/Operations/KADOperation.m#L178

kas-kad avatar Jul 14 '15 20:07 kas-kad

@purrrminator gr8 job man, i had started to convert the project to objective-c but then in the middle i found this :smiley:

"internalErrors" is not initialized which caused nil error array on finished.

https://github.com/purrrminator/AdvancedNSOperations/blob/master/Operations/Operations/KADOperation.m#L221

temporary initialization added to "willEnqueue" in my project.

hamdshah avatar Aug 07 '15 09:08 hamdshah