popup: remove wlSurface ownership on destroy

fixes #11320
This commit is contained in:
Vaxry 2025-08-03 22:55:02 +02:00
parent 549f5e8dff
commit 1b86d35f7e
No known key found for this signature in database
GPG key ID: 665806380871D640

View file

@ -101,6 +101,7 @@ void CPopup::onDestroy() {
m_subsurfaceHead.reset();
m_children.clear();
m_wlSurface.reset();
if (m_fadingOut && m_alpha->isBeingAnimated()) {
Debug::log(LOG, "popup {:x}: skipping full destroy, animating", (uintptr_t)this);