drm: Don't call virtual methods from a parent class destructor
We'd be relying on AbstractEglDrmBackend on calling cleanup but we'd be doing it when cleanupSurfaces cannot be reached out anymore, turning it into a half-baked cleanup. Instead call cleanup from the leaf class destructors.
parent
4c74a240
Please register or sign in to comment