https://bugs.kde.org/show_bug.cgi?id=423575

Gamblit <kdebugzi...@gamblit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugzi...@gamblit.org

--- Comment #9 from Gamblit <kdebugzi...@gamblit.org> ---
The issue appears to be that QEventLoop in line 192 of server/connection.cpp
never gets its signal/slot connections cleaned up. I would assume RAII would
take care of that by the end of the scope at line 197, but it does not, so a
TON of QT signal/slot connection objects linger around forever.

I was able to fix it by simply calling the corresponding "disconnect" after the
"loop.exec()" for each of the three connects. This way the QObject connections
go away and so does the memory leak.

I don't have a developer account, so i'm not sure how to submit the merge
request, but i'm trying to get it through.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to