[wxGTK?] wxTopLevelWindows list
Stefan.Neis at t-online.de
Stefan.Neis at t-online.de
Tue Feb 26 10:55:43 PST 2008
Hi,
Since updating my application from 2.6 to 2.8 it seems to be always
crashing on
exit - at least for wxGTK.
The point seems to be that my application is essentially opening and
closing a
number of dialogs, one after the other, but while they get nicely added
to
the wxTopLevelWindows list (see wxTopLevelWindowGTK::Create, I suppose),
they apparently never get removed from that list when I'm closing and
destroying
them. And at shutdown, wxAppBase::CleanUp (appcmn.cpp) loops over all
those
already destroyed and cleaned up windows, deleting them "again". So I
get a
crash because of the double delete...
I'm totally lost as to why ~wxWindowBase either doesn't remove the
window, or
where else the same window is added a second time to the list or what is
actually going on. Any ideas?
Regards,
Stefan
More information about the wx-dev
mailing list