Fix a 100% CPU usage bug
This commit is contained in:
parent
ce3b2c80a1
commit
d3b966a93f
@ -1139,7 +1139,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
while (TRUE)
|
||||
{
|
||||
if (poll_restart (pollfd, 3, -1) == -1)
|
||||
if (poll_restart (pollfd, 2, -1) == -1)
|
||||
abort ();
|
||||
|
||||
if ((pollfd[0].revents & POLLIN)
|
||||
|
Loading…
Reference in New Issue
Block a user