diff --git a/Sources/TableDirector.swift b/Sources/TableDirector.swift index 665e481..63de5f7 100644 --- a/Sources/TableDirector.swift +++ b/Sources/TableDirector.swift @@ -36,6 +36,8 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate { didSet { if shouldUsePrototypeCellHeightCalculation { rowHeightCalculator = TablePrototypeCellHeightCalculator(tableView: tableView) + } else { + rowHeightCalculator = nil } } }