Hi there, Looks like the token assignment in viewDidLoad creates a Retain Cycle. ArticleListController is never deinitialized. Capture list should be added.
token = NewsAPI.service.observe(.articles) { [weak self] _, _ in // 3 DispatchQueue.main.async { // 4 self?.tableView.reloadData() } }
@jeka53 Thank you for the heads up - much appreciated! :]
Cu placere) You can mark topic as closed I think.
This topic was automatically closed after 166 days. New replies are no longer allowed.