fix crashes on monitor ls remove

This commit is contained in:
Vaxry 2023-01-06 16:13:45 +01:00
parent 85a71d15b6
commit 464dd79246

View file

@ -196,6 +196,7 @@ void CMonitor::onDisconnect() {
for (auto& ls : m_aLayerSurfaceLists[i]) {
wlr_layer_surface_v1_destroy(ls->layerSurface);
}
m_aLayerSurfaceLists[i].clear();
}
if (!BACKUPMON) {