I have 4 UIViewControllers, all Modally Segued to using Storyboards, all unwind to same root view controller, BUT 1 view controller never calls deinit. I know deinit is not called for this specific VC because I have print statements inside the deinit.
I'm not retaining any reference cycles on the problem VC, nor do I have any references to any of these views. The segue is defined in the storyboard with appropriate identifier and performSegue is called inside the rootVC to each of these 4 VCs.
The only difference between the 4 VCs is one with a problem uses a UITableView and no the VC is not a UITableViewController, the tableView is embedded using extensions and works just fine.
The very nature of this app is to cycle through 4 screens sequentially, then pop back to the first VC. So I'm worried this VC that never deinits is just leaking outright, for no clear reason.
Please help and thank you.