1
0
Fork 0
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:
ed 2019-08-07 12:44:42 +01:00
parent cdd9206b13
commit 012c7d00d2
2 changed files with 20 additions and 2 deletions

View file

@ -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)