From 13186427c59d088f08a9dfb5c8d7cf27ce1b3524 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 4 May 2021 18:19:01 +0200 Subject: [PATCH] [Darwin] Do not push the DNSServiceRegister onto the main dispatch queue (#6444) --- src/platform/Darwin/MdnsImpl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/platform/Darwin/MdnsImpl.cpp b/src/platform/Darwin/MdnsImpl.cpp index d7aad43b6d3800..111d0956e7f2f4 100644 --- a/src/platform/Darwin/MdnsImpl.cpp +++ b/src/platform/Darwin/MdnsImpl.cpp @@ -297,9 +297,6 @@ CHIP_ERROR Register(uint32_t interfaceId, const char * type, const char * name, VerifyOrReturnError(CheckForSuccess(sdCtx, __func__, err), CHIP_ERROR_INTERNAL); - err = DNSServiceSetDispatchQueue(sdRef, chip::DeviceLayer::PlatformMgrImpl().GetWorkQueue()); - VerifyOrReturnError(CheckForSuccess(sdCtx, __func__, err, true), CHIP_ERROR_INTERNAL); - return MdnsContexts::GetInstance().Add(sdCtx, sdRef); }