graesslin created this revision. graesslin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. graesslin requested review of this revision.
REVISION SUMMARY Registry was parented to WaylandModule, but the ConnectionThread got destroyed in the dtor, thus before the Registry resulting in a crash when the Registry got destroyed. This change addresses this problem by tracking the Registry and destroying it before destroying the Connection. BUG: 387479 FIXED-IN: 5.12.1 TEST PLAN Clicked Wayland section, then quit application, verified exit code REPOSITORY R102 KInfoCenter BRANCH fix-wayland-5.12 REVISION DETAIL https://phabricator.kde.org/D10391 AFFECTED FILES Modules/base/info_wayland.cpp Modules/base/info_wayland.h To: graesslin, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart