diff --git a/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx b/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx index c62343471..88e0ec571 100644 --- a/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx +++ b/src/output/plugins/snapcast/SnapcastOutputPlugin.cxx @@ -90,7 +90,9 @@ SnapcastOutput::Unbind() noexcept assert(!open); BlockingCall(GetEventLoop(), [this](){ +#ifdef HAVE_ZEROCONF zeroconf_helper.reset(); +#endif ServerSocket::Close(); });