event/MultiSocketMonitor: remove force-refresh on every iteration
libasound guarantees that the file descriptors never change for a "prepared" PCM device, thus we can omit this defensive kludge.
This commit is contained in:
parent
18cb34825d
commit
3558317dc9
|
@ -120,10 +120,6 @@ MultiSocketMonitor::OnIdle() noexcept
|
||||||
if (ready) {
|
if (ready) {
|
||||||
ready = false;
|
ready = false;
|
||||||
DispatchSockets();
|
DispatchSockets();
|
||||||
|
|
||||||
/* TODO: don't refresh always; require users to call
|
|
||||||
InvalidateSockets() */
|
|
||||||
refresh = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (refresh) {
|
if (refresh) {
|
||||||
|
|
Loading…
Reference in New Issue