<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D22084">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>We must release all wayland objects before the QPA connection is closed.</p>
<p>We used to do this explicitly, but this still left an awkward code path<br />
where we could still try to recreate a BlurManager if it's called after<br />
the QApplication is closed.</p>
<p>Instead we can scope all the wayland objects to the QApplication. The<br />
objects themselves were not leaked as public API so this is safe. Calls<br />
after this will simply no-op.</p>
<p>This fixes crashes on tear down of plasma.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>kquitapp5 plasmashell</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R130 Frameworks integration plugin using KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22084">https://phabricator.kde.org/D22084</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/windowsystem/waylandintegration.cpp<br />
src/windowsystem/waylandintegration.h</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>