mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-19 12:49:02 +00:00
Don't beginUpdates/endUpdates on cell relayout if data source is gone (#2248)
This commit is contained in:
parent
c7b290e4cb
commit
d1d25a770c
@ -1164,7 +1164,7 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
- (void)didLayoutSubviewsOfTableViewCell:(_ASTableViewCell *)tableViewCell
|
||||
{
|
||||
ASCellNode *node = tableViewCell.node;
|
||||
if (node == nil) {
|
||||
if (node == nil || _asyncDataSource == nil) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user