clear LSes at finish

This commit is contained in:
vaxerski 2023-02-03 11:41:43 +00:00
parent bec451ee84
commit e4c267292a

View file

@ -48,6 +48,8 @@ void CHyprpicker::finish(int code) {
destroyBuffer(&ls->screenBuffer);
}
m_vLayerSurfaces.clear();
if (m_pWLDisplay) {
wl_display_disconnect(m_pWLDisplay);
m_pWLDisplay = nullptr;