Skip to content
Commit baac61b8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix calling virtual methods in Window destructor

When a window is removed from the deleted list, some effects can perform
cleanup. In its turn, it means that they can call some Window methods.

If those methods happen to be virtual, kwin can crash because calling
virtual methods in the destructor of a base class has undefined behavior.
parent 8c87cd91
Pipeline #369964 passed with stage
in 11 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment