This commit is contained in:
Vaxry 2024-03-18 23:18:50 +00:00
parent 0f149d3837
commit 31bfe2f78a

View file

@ -116,6 +116,7 @@ void CRenderbuffer::plantFence() {
}
void CRenderbuffer::removeFence() {
wl_event_source_remove(m_pFDWrite);
if (m_pFDWrite)
wl_event_source_remove(m_pFDWrite);
m_pFDWrite = nullptr;
}