bugfix: "crashes when quit with 'close window' button"
harry at kdevelop.org
Thu Aug 22 21:42:03 UTC 2002
> Hello kdevelop-team,
> I'm really fond of KDevelop and Gideon!
> I hunted the bug " crashes when quit with 'close window' button" and made a
> tiny patch:
> The bugfix is in the file doctreeviewpart.cpp. It's trivial, just two lines
> of code have to be deleted (see doctreeviewpart.cpp.patch).
> The buggy code accessed an already deleted object though
> I changed the class TopLevel so it will assert if someone tries a similar
> thing in the future. This may help finding a bug quicker (see
I just commited your two patches, but without the assert, because this will
trigger on changing mdi modes on the fly (I know, it is disabled at the
Thanks for finding the bugs, it also helped me to fix the diff part, so gideon
exits cleanly now :)
More information about the KDevelop-devel