lock-surface: remove redundant sendDestroy calls

They are already part of the generated protocol code.
This commit is contained in:
Maximilian Seidler 2025-09-10 17:52:09 +02:00
parent 04cfdc4e5b
commit 35014e833e

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) {