mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux: Fix for high CPU load
This commit is contained in:
parent
cdd9206b13
commit
012c7d00d2
2 changed files with 20 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ public:
|
|||
const ScopedLock sl (lock);
|
||||
|
||||
fdReadCallbacks.push_back ({ fd, std::move (cb) });
|
||||
pfds.push_back ({ fd, POLLIN | POLLOUT, 0 });
|
||||
pfds.push_back ({ fd, POLLIN, 0 });
|
||||
}
|
||||
|
||||
void unregisterFdCallback (int fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue