Fix Case Where Node Is Deallocated While Visible (#2171)

* Attempt to reproduce supplementary crash

* Get closer with supplementary issue testing

* Alright! We have a repro!

* The investigation continues

* Fixed!
This commit is contained in:
Adlai Holler
2016-08-31 15:50:39 -07:00
committed by GitHub
parent 68d6d6f5b4
commit 284975ecec
4 changed files with 83 additions and 11 deletions

View File

@@ -1468,7 +1468,7 @@ static inline CATransform3D _calculateTransformFromReferenceToTarget(ASDisplayNo
}
ASDisplayNodeAssert(_flags.layerBacked, @"We shouldn't get called back here if there is no layer");
return (id<CAAction>)[NSNull null];
return (id)kCFNull;
}
#pragma mark - Managing the Node Hierarchy