Diffusion KWin 456c65fc19eb

Verify that there is no scene windows when Scene is about to be destroyed

Authored by zzag on Mar 5 2019, 12:25 PM.

Description

Verify that there is no scene windows when Scene is about to be destroyed

Summary:
When ~Scene is called, it's not guaranteed that backend is still valid
or that there is current opengl context. So, generally speaking,
deleting scene windows in ~Scene is a bad idea.

It's okay not to delete scene windows in ~Scene because current
implementation of Compositor::finish ensures that they don't last longer
than the scene.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

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

Details

Committed
zzagMar 5 2019, 1:19 PM
Reviewer
KWin
Differential Revision
D19540: Verify that there is no scene windows when Scene is about to be destroyed
Parents
R108:297557bde400: [wayland] Implement belongsToDesktop check
Branches
Unknown
Tags
Unknown