DTGridView shows lot of memory leaks in loaddata function can you please look into it . thanks
iparag opened this issue · 2 comments
iparag commented
DTGridView shows lot of memory leaks in loaddata function can you please look into it . thanks
frangere commented
I met the same situation. After take a look at DTGridView loadData, I found some questions:
- gridRows, rowHeights, rowPositions are never used, only alloc, release, removeAllObjects are reference those three objects
- gridCells are never release: I cannot found release code in the DTGridView. According the loadDat, we should rel all the cell info object on the grid.
frangere commented
Add [self.gridCells release] at DTGridView.m dealloc will remove this problem.
But still cannot figure out how infinite grid view and snap grid view release self.gridCells