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:
Max Kellermann 2024-07-23 13:05:51 +02:00
parent 18cb34825d
commit 3558317dc9
1 changed files with 0 additions and 4 deletions

View File

@ -120,10 +120,6 @@ MultiSocketMonitor::OnIdle() noexcept
if (ready) {
ready = false;
DispatchSockets();
/* TODO: don't refresh always; require users to call
InvalidateSockets() */
refresh = true;
}
if (refresh) {