D6569: [client] Track all created ConnectionThreads and add API to access them

Martin Flöser noreply at phabricator.kde.org
Sat Jul 8 12:38:16 UTC 2017


graesslin created this revision.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This is change needed by KWin. KWin has the problem that it destroys its
  internal Wayland connection (KWin as client for KWin as server) before
  shutting down the application. Other external libraries loaded into KWin
  (e.g. breeze window decoration) are unloaded later on, then try to clean
  up their Wayland resources and crash KWin due to accessing a no longer
  valid Wayland connection.
  
  With the help of this new API KWin can access all connections during
  the clean up and destroy them before shutting down the Wayland server and
  thus exit cleanly.

REPOSITORY
  R127 KWayland

BRANCH
  all-connection-threads

REVISION DETAIL
  https://phabricator.kde.org/D6569

AFFECTED FILES
  autotests/client/test_wayland_connection_thread.cpp
  src/client/connection_thread.cpp
  src/client/connection_thread.h

To: graesslin, #frameworks, #plasma, #kwin
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170708/d72a2e70/attachment.html>


More information about the Kde-frameworks-devel mailing list