So I've been coding an update for one of my upcoming game Cubic! and I ran into an interesting bug with CCTableView on Cocos2D v3.4
Basically, when you have a CCTableView on a scene, and you use it properly (aka, set the dataSource just like you do with a UITableView), you'll never get the scene to call Dealloc when you call replaceScene.
I've created a mini project to demonstrate the bug:
As you can see in the goToMain method of the TableScene class, commenting out that 1 line of code will cause the dealloc in the TableScene to not be called on transition.
(For those of you NOT downloading the project from github.... it's this line:
self.tblScores.dataSource = nil;
If you don't set the data source of the CCTableView to nil, it will some how retain the scene when trying to replace it.
Although this doesn't cause any problems at first, it does if you try to do anything with the TableScene after you've "replaced" it.