Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Use mutableCopy for many of the fields in copyForRetry. #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 24, 2013

  1. Use mutableCopy for many of the fields in copyForRetry.

    These fields are declared as NSMutableArray / NSMutableDictionary,
    so it's violating the type safety to use plain copy.
    
    This is important if you try to cancel an operation that came from
    cancelForRetry.  [MKNetworkOperation cancel] will clear all the
    lists of all the callbacks, which will crash if the lists are not
    mutable.
    Ewan Mellor committed Jul 24, 2013
    Configuration menu
    Copy the full SHA
    5a920f6 View commit details
    Browse the repository at this point in the history