Revert "event/SocketEvent: add assert()"
This reverts commit 7bc1c9925b
. 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
|
bool
|
||||||
SocketEvent::Schedule(unsigned flags) noexcept
|
SocketEvent::Schedule(unsigned flags) noexcept
|
||||||
{
|
{
|
||||||
assert((flags & IMPLICIT_FLAGS) == 0);
|
|
||||||
|
|
||||||
if (flags == GetScheduledFlags())
|
if (flags == GetScheduledFlags())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user