Skip to content

Don't emit QObject::destroyed() within Identity::destroy()

Chris Adams requested to merge chriadam/signond:master into master

QObject::destroyed() should not be emitted manually, as that can cause unwanted side effects.

Specifically, in this case, the QDBusConnectionPrivate::objectDestroyed() slot was invoked with invalidated object parameter (perhaps due to duplicate invocation) resulting in a warning in QObject::disconnect().

Merge request reports