mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-30 11:23:49 -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++;
|
||||
}
|
||||
}
|
||||
|
||||
close(fd);
|
||||
};
|
||||
|
||||
if (mask & WL_EVENT_ERROR || mask & WL_EVENT_HANGUP) {
|
||||
|
Reference in New Issue
Block a user