[WIN32] fixed: XBMC wasn't found on my setup with win 8.1. Updating the mdnsresponder...
[vuplus_xbmc] / xbmc / network / mdns / ZeroconfMDNS.cpp
index 8f700a2..b81ea11 100644 (file)
@@ -99,6 +99,7 @@ bool CZeroconfMDNS::doPublishService(const std::string& fcr_identifier,
   TXTRecordCreate(&txtRecord, 0, NULL);
 
 #if !defined(HAS_MDNS_EMBEDDED)
+  CSingleLock lock(m_data_guard);
   if(m_service == NULL)
   {
     err = DNSServiceCreateConnection(&m_service);