disconnect before deleting; we don't want to get informed of any changes from this point forward.
perhaps the cause of the "crash on lock" bug? CCBUG:166802 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833582
This commit is contained in:
parent
a73c3bb39a
commit
adbf92d5dc
@ -1079,6 +1079,7 @@ void ContainmentPrivate::toggleDesktopImmutability()
|
||||
handles.clear();
|
||||
|
||||
foreach (AppletHandle* handle, h) {
|
||||
handle->disconnect(q);
|
||||
handle->deleteLater();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user