Diffusion KWin 732610bd8fba

[platforms/drm] Early platform and outputs teardown

Authored by romangg on Sep 5 2019, 2:59 PM.

Description

[platforms/drm] Early platform and outputs teardown

Summary:
Since we now use in the backends the OutputDeviceInterface for output data
all access must be complete before the Wayland server goes down. For that
introduce a new function to prepare shutdown in the backends.

While at it also remove the output deletion, since they get deleted through
Qt's object system leading to crashes on double free.

Test Plan: Shutdown works without seg faults in the Drm backend.

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kwin

Tags: KWin

Maniphest Tasks: T11459

Differential Revision: https://phabricator.kde.org/D23602

Details

Committed
romanggSep 5 2019, 3:00 PM
Reviewer
KWin
Differential Revision
D23602: [platforms/drm] Early platform and outputs teardown
Parents
R108:5ed98f79e8c2: Fix warning text message
Branches
Unknown
Tags
Unknown