Skip to content

Commit

Permalink
[Darwin] Do not push the DNSServiceRegister onto the main dispatch qu…
Browse files Browse the repository at this point in the history
…eue (#6444)
  • Loading branch information
vivien-apple authored and pull[bot] committed Jun 14, 2021
1 parent e19d4c5 commit 2323505
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platform/Darwin/MdnsImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2323505

Please sign in to comment.