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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwayland-server/commit/e
                   |                            |925f98effaab144726e61fbaca2
                   |                            |eb2434001172
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Edmundson <[email protected]> ---
Git commit e925f98effaab144726e61fbaca2eb2434001172 by David Edmundson.
Committed on 15/07/2020 at 21:55.
Pushed by davidedmundson into branch 'master'.

Cache clientConnection in SurfaceInterface

Order of a client teardown is:
 - ClientConnection is removed from the static map
 - All our client owned resources are torn down
 - ClientConnection is deleted (via a previous deleteLater)

The recent refactor led to a behavioural change where ::client could
return a null pointer.

We want the client getter to be valid throughout the lifespan of
SurfaceInterface, by doing the lookup once we achieve that.

M  +2    -1    src/server/surface_interface.cpp
M  +2    -0    src/server/surface_interface_p.h

https://invent.kde.org/plasma/kwayland-server/commit/e925f98effaab144726e61fbaca2eb2434001172

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

Reply via email to