FWIW, we have had a number of issues with Qt over the years related to the order of destructors being called on all platforms. I think there are 3 or 4 places in Sigil code alone that mentions order dependent issues. The problem is without understanding how two classes are related and what pointers are used to implement things internally, the order of destruction may need to be different the reverse of the order of creation.
|