fix(pulseaudio): prevent nonresponsiveness and remove redundant getters

This commit is contained in:
NBonaparte
2017-10-28 23:35:26 -07:00
parent 1f35b9dc89
commit 10656a94cb
3 changed files with 15 additions and 30 deletions

View File

@ -142,9 +142,6 @@ namespace modules {
} else {
return false;
}
if (m_pulseaudio->wait()) {
m_pulseaudio->process_events();
}
}
} catch (const exception& err) {
m_log.err("%s: Failed to handle command (%s)", name(), err.what());