diff options
author | Max Kellermann <max@musicpd.org> | 2020-12-02 20:43:29 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-12-02 20:43:29 +0100 |
commit | ad488344698cca8ba6ab0938492d8c984af858b6 (patch) | |
tree | 057b8c9ea7be97a6dd803fb7bd868f2d6f564cc2 | |
parent | 9d6b5e2ba1f5c4045799707aea12ca4ccca63cd4 (diff) |
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
-rw-r--r-- | src/event/SocketEvent.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/event/SocketEvent.cxx b/src/event/SocketEvent.cxx index f117a69f1..a4e507043 100644 --- a/src/event/SocketEvent.cxx +++ b/src/event/SocketEvent.cxx @@ -60,8 +60,6 @@ SocketEvent::Abandon() noexcept bool SocketEvent::Schedule(unsigned flags) noexcept { - assert((flags & IMPLICIT_FLAGS) == 0); - if (flags == GetScheduledFlags()) return true; |