Skip to content

Commit

Permalink
fix: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lemondark committed Dec 12, 2023
1 parent 71fb082 commit 7b7ca3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/tencent/msdk/dns/core/DnsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ LookupResult<IStatisticsMerge> getResultForSelector(CountDownLatch countDownLatc
long startTimeMills) {
Selector selector = lookupContext.selector();
if (selector == null) {
getResultForNullSelector(countDownLatch, lookupContext, lookupParams, lookupResultHolder,
return getResultForNullSelector(countDownLatch, lookupContext, lookupParams, lookupResultHolder,
startTimeMills);
}
IRetry retry = sRetry;
Expand Down Expand Up @@ -402,7 +402,6 @@ && canRetry(startTimeMills, timeoutMills, maxRetryTimes, retriedTimes)) {
statMerge.statResult(ipSet);
LookupResult<IStatisticsMerge> lookupResult = new LookupResult<IStatisticsMerge>(ipSet, statMerge);
lookupResultHolder.mLookupResult = lookupResult;

return lookupResult;
}

Expand Down

0 comments on commit 7b7ca3a

Please sign in to comment.