Skip to content

Commit b366347

Browse files
nguyenhuyHannah Troisi
authored andcommitted
Disable background deallocation on iOS 8 and below (facebookarchive#2954)
- The crash mainly occurs on these old iOS versions (~93%) and p6.16.1. There might be a client code issue that causes this crash, but it's hard to tell if it also crashes on newer iOS versions AND p6.17. - Let's disable this feature for now and re-investigate if it resurfaces on p6.19 and iOS 9/10.
1 parent 38aac9d commit b366347

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

AsyncDisplayKit/ASRunLoopQueue.mm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ + (instancetype)sharedDeallocationQueue
4848

4949
- (void)releaseObjectInBackground:(id)object
5050
{
51+
// Disable background deallocation on iOS 8 and below to avoid crashes related to UIAXDelegateClearer (#2767).
52+
if (!AS_AT_LEAST_IOS9) {
53+
return;
54+
}
55+
5156
_queueLock.lock();
5257
_queue.push_back(object);
5358
_queueLock.unlock();

0 commit comments

Comments
 (0)