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

Make sure we don't deadlock when connecting signals


This commit moves the code that finishes the signal-slot connection into
the QtDBus auxiliary thread. That is necessary because we're holding the
lock for writing while making blocking calls. The auxiliary thread might
be waiting for us to release that lock while processing some previous
message.

Change-Id: Iee8cbc07c4434ce9b560ffff13d0521b94a51833
Reviewed-by: default avatarAlbert Astals Cid <aacid@kde.org>
Reviewed-by: default avatarAlex Blasche <alexander.blasche@theqtcompany.com>
parent e15e5b1d
No related merge requests found
Showing with 40 additions and 51 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