Clean up also the overlay window on failure.

svn path=/trunk/KDE/kdebase/workspace/; revision=669838
icc-effect-5.14.5
Luboš Luňák 2007-05-30 15:09:06 +00:00
parent 2312220686
commit de8fa6c883
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ SceneOpenGL::~SceneOpenGL()
if( !init_ok )
{
// TODO this probably needs to clean up whatever has been created until the failure
wspace->destroyOverlay();
return;
}
foreach( Window* w, windows )