D28668: [wayland] Fix teardown order

David Edmundson noreply at phabricator.kde.org
Thu Apr 16 01:08:31 BST 2020


davidedmundson added a comment.


  > Wouldn't it be better to destroy the event queue explicitly in destroyInternalConnection()
  
  I don't think it'd be better or worse.
  
  I went with this as there's a relationship between the registry and the event queue, that we want to explicitly convey.  It encapsulates the lifespan logic.
  I would probably have gone with that if the event queue was a member var usable by others.

REPOSITORY
  R108 KWin

BRANCH
  master

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

To: davidedmundson, #kwin, cblack, apol
Cc: zzag, apol, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200416/ae0ecb4d/attachment-0001.html>


More information about the kwin mailing list