parent
9a9528d093
commit
45d3fbb8d8
4 changed files with 5 additions and 5 deletions
|
|
@ -1395,14 +1395,11 @@ void CCompositor::cleanupFadingOut(const int& monid) {
|
|||
if (valid && !w->m_bReadyToDelete)
|
||||
continue;
|
||||
|
||||
std::erase_if(g_pHyprOpenGL->m_mWindowFramebuffers, [&](const auto& other) { return other.first == w; });
|
||||
w->m_bFadingOut = false;
|
||||
removeWindowFromVectorSafe(w);
|
||||
std::erase(m_vWindowsFadingOut, w);
|
||||
|
||||
Debug::log(LOG, "Cleanup: destroyed a window");
|
||||
|
||||
glFlush(); // to free mem NOW.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue