CB-11838 ios: Unregister callback function at the right timing.
authorKen'ichi Fukushima <ken.fukushima@gmail.com>
Mon, 12 Sep 2016 09:28:49 +0000 (18:28 +0900)
committerJulio César <jcesarmobile@gmail.com>
Wed, 28 Dec 2016 23:26:44 +0000 (00:26 +0100)
commitf4f1abec3a0f5e5efd1ec8bc8312c97ad92deefa
tree241f84bd940c40b5400d6be86b11c28c9986ef70
parentee0cb16e585bda6cfa5e382544b9ef4ef01080b0
CB-11838 ios: Unregister callback function at the right timing.

We at LINE observed about 40K crashes a day that were suspected to be
caused by the reacahability callback function invoked on an
already-deallocated object. We couldn't reproduced the crash locally
but this patch did reduce the number of crash reports to zero.

 This closes #49
src/ios/CDVReachability.m