diff options
author | 2016-03-22 11:27:36 +0100 | |
---|---|---|
committer | 2016-03-22 11:27:39 +0100 | |
commit | 1d010afbf72355eae0fdffa249f2588cb801c302 (patch) | |
tree | 27246e135aa3184f9e0a4cd7721e486097c4807d /protocols | |
parent | Merge pull request #527 from gkbrk/swaylock_password_grow (diff) | |
download | sway-1d010afbf72355eae0fdffa249f2588cb801c302.tar.gz sway-1d010afbf72355eae0fdffa249f2588cb801c302.tar.zst sway-1d010afbf72355eae0fdffa249f2588cb801c302.zip |
Abort when receiving 0 bytes in IPC call
When sway crashes a swaybar process is sometimes left behind running at
100% CPU. This was caused by the swaybar trying to retrieve an IPC
response from the closed sway socket.
This patch fixes the problem by aborting when the socket has been closed
(recv return 0).
Fix #528
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions