Commit ad66dbe3 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Disconnect signals from each QObject only once in QDBusConnectionPrivate


Because the moment we disconnect from the object's destroyed() signal,
it may get destroyed in another thread. If the same object appears more
than once in the object tree or in the signal hook table, we could be
accessing a dangling pointer.

Task-number: QTBUG-52988
Change-Id: Ifea6e497f11a461db432ffff14496f0f83889104
Reviewed-by: default avatarWeng Xuetian <wengxt@gmail.com>
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
Showing with 21 additions and 12 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment