Revert "event/SocketEvent: add assert()"
This reverts commit 7bc1c9925b0ecb8ccb287a7e85354cf074162a4f. It caused a crash with the ALSA plugin family (through MultiSocketMonitor::ReplaceSocketList() and MultiSocketMonitor::AddSocket()). Until we have a proper fix, the assertion patch is reverted. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1020
This commit is contained in:
parent
9d6b5e2ba1
commit
ad48834469
@ -60,8 +60,6 @@ SocketEvent::Abandon() noexcept
|
||||
bool
|
||||
SocketEvent::Schedule(unsigned flags) noexcept
|
||||
{
|
||||
assert((flags & IMPLICIT_FLAGS) == 0);
|
||||
|
||||
if (flags == GetScheduledFlags())
|
||||
return true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user