Fwd: Re: Reproducable Crash in UIController

Andreas Pakulat apaku at gmx.de
Thu Jun 25 19:28:35 UTC 2009


On 24.06.09 23:06:53, Milian Wolff wrote:
> 2) It fixes the documentswitcherplugin to not call removeMainWindow in the
> unload() method since at that point the windows should already be deleted.
> And thanks to the (already existing) connection to MainWindow::destroyed()
> the removeMainWindow is called whenever needed. This explains / fixes the
> crash I explained above after trying to fix the initial bug.

Can you explain why this is needed? I don't understand why anything is
in the documentList at that point if the mainwindows are properly
removed in removeMainWindow(). The loop should just do nothing.

Andreas

-- 
Stay away from flying saucers today.




More information about the KDevelop-devel mailing list