Display an error message when a deleted client has a non-zero reference
count. CCBUG: 209723 svn path=/trunk/KDE/kdebase/workspace/; revision=1037431
This commit is contained in:
parent
64b80fc1fe
commit
04bfc4cada
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ Deleted::Deleted( Workspace* ws )
|
|||
|
||||
Deleted::~Deleted()
|
||||
{
|
||||
if( delete_refcount != 0 )
|
||||
kError(1212) << "Deleted client has non-zero reference count (" << delete_refcount << ")";
|
||||
assert( delete_refcount == 0 );
|
||||
workspace()->removeDeleted( this, Allowed );
|
||||
deleteEffectWindow();
|
||||
|
|
Loading…
Reference in a new issue