流程图如下: [image] 调用objc_destructInstance的原因: 这里参考了系统在Object-C Runtime 中NSZombies实现,dealloc最后会调到objectdispose
clearDeallocating // NSObject.mm ⑦ sidetable_clearDeallocating clearDeallocating_slow ① dealloc // Replaced by NSZombies