lock-surface: remove redundant sendDestroy calls (#868)

They are already part of the generated protocol code.
This commit is contained in:
Maximilian Seidler 2025-09-10 16:11:06 +00:00 committed by GitHub
parent 04cfdc4e5b
commit 450ae1e5f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,12 +15,6 @@ CSessionLockSurface::~CSessionLockSurface() {
if (eglWindow)
wl_egl_window_destroy(eglWindow);
if (lockSurface)
lockSurface->sendDestroy();
if (surface)
surface->sendDestroy();
}
CSessionLockSurface::CSessionLockSurface(const SP<COutput>& pOutput) : m_outputRef(pOutput), m_outputID(pOutput->m_ID) {