Commit ad488344 authored by Max Kellermann's avatar Max Kellermann

Revert "event/SocketEvent: add assert()"

This reverts commit 7bc1c992. 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
parent 9d6b5e2b
...@@ -60,8 +60,6 @@ SocketEvent::Abandon() noexcept ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment