mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
LinuxWebComponent: Fix high CPU usage
This commit is contained in:
parent
39ba1c8383
commit
b9cc72b167
1 changed files with 1 additions and 1 deletions
|
|
@ -829,7 +829,7 @@ private:
|
|||
int result = 0;
|
||||
|
||||
while (result == 0 || (result < 0 && errno == EINTR))
|
||||
result = poll (&pfds.front(), static_cast<nfds_t> (pfds.size()), 0);
|
||||
result = poll (&pfds.front(), static_cast<nfds_t> (pfds.size()), 10);
|
||||
|
||||
if (result < 0)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue