escoz/QuickDialog — Issue #27: Retain cycles in QSection and QElement
Author: chfredrickson
Created: 2011-12-01 21:47:46+00:00
State: open

I've run into two retain cycles:
* In QSection there is a strong reference stored to it's parent QRootElement in _rootElement while the root is also retaining the section.
* In QElement there is a strong reference stored to it's parent QSection in _parentSection.

Both can be fixed by changing the properties to assign and the ivar's to __unsafe_unretained. However QRadioElement currently depends on a QSection it allocs to be retained in _parentSection which that change alone breaks.