mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-02 04:43:48 -07:00
Close socket2 client descriptor on hangup (#2654)
This commit is contained in:
@@ -30,6 +30,8 @@ int fdHandleWrite(int fd, uint32_t mask, void* data) {
|
|||||||
it++;
|
it++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
close(fd);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (mask & WL_EVENT_ERROR || mask & WL_EVENT_HANGUP) {
|
if (mask & WL_EVENT_ERROR || mask & WL_EVENT_HANGUP) {
|
||||||
|
Reference in New Issue
Block a user