Merge pull request #4228 from galkinvv/fix2866

High client CPU usage and laggy mouse
This commit is contained in:
Adam Potolsky 2015-06-11 16:12:40 -07:00
commit 6bb44fbc59
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ SocketMultiplexer::serviceThread(void*)
for (SocketJobMap::iterator i = m_socketJobMap.begin();
i != m_socketJobMap.end();) {
if (*(i->second) == NULL) {
m_socketJobs.erase(i->second);
m_socketJobMap.erase(i++);
m_update = true;
}