output/snapcast: add missing #ifdef HAVE_ZEROCONF

This commit is contained in:
Max Kellermann 2021-02-24 17:04:14 +01:00
parent 7a68775e6c
commit f08810b202

View File

@ -90,7 +90,9 @@ SnapcastOutput::Unbind() noexcept
assert(!open);
BlockingCall(GetEventLoop(), [this](){
#ifdef HAVE_ZEROCONF
zeroconf_helper.reset();
#endif
ServerSocket::Close();
});