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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/krdp/-/commit/090d741331
                   |                            |b84462530b9d307d31a482cfd68
                   |                            |973
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 090d741331b84462530b9d307d31a482cfd68973 by Arjen Hiemstra.
Committed on 12/06/2024 at 11:12.
Pushed by ahiemstra into branch 'master'.

server: Properly cleanup SessionWrapper objects

Since we're storing the connection as a QPointer comparing the destroyed
connection to the stored connection doesn't work since the QPointer is
already cleared at the point the connection has been destroyed. We don't
really want to track the connection anyway, we want to track the
wrapper. So make the wrapper emit a signal on connection loss that we
use to cleanup the wrapper.
Related: bug 488367

M  +15   -14   server/SessionController.cpp
M  +0    -1    server/SessionController.h

https://invent.kde.org/plasma/krdp/-/commit/090d741331b84462530b9d307d31a482cfd68973

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

Reply via email to