I haven't used the Mdi window classes, but I did just spend awhile trying
to get widgets to go away that turned out to still have references coming
in.  I believe that DeleteOnClose won't do the expected things to a widget
that still has direct references pointing to it; that was my experience
with that flag, anyway.

This doesn't directly address the mdi/subwindow object question, but if
you're using Eclipse, I can recommend using the Memory Analyzer Tool
(http://www.eclipse.org/mat/) to see if those widgets are truly still in
existence, and if so which other objects have references to them which
keep them alive.  You just use jmap to create a heap dump, open that
binary dump file in Eclipse, and then quick clicks into the Dominator Tree
and Show as Histogram (and then filtering for the class in question) will
tell you what's actually lurking inside your JVM.  This tool recently
saved my sanity on an analogous issue...

Hope that helps a little!
-phil



_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to