mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 21:05:57 +01:00
avoid multiple defunct logs
This commit is contained in:
parent
752c003866
commit
8c52015be6
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ CWaylandResource::CWaylandResource(wl_client* client, const wl_interface* wlInte
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWaylandResource::markDefunct() {
|
void CWaylandResource::markDefunct() {
|
||||||
|
if (m_bDefunct)
|
||||||
|
return;
|
||||||
|
|
||||||
Debug::log(TRACE, "[wl res %lx] now defunct", m_pWLResource);
|
Debug::log(TRACE, "[wl res %lx] now defunct", m_pWLResource);
|
||||||
m_bDefunct = true;
|
m_bDefunct = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue