Skip to content

Commit

Permalink
feat:当关闭启停开关也需要清除缓存字典
Browse files Browse the repository at this point in the history
  • Loading branch information
erichuyuehu committed Jul 15, 2022
1 parent 3708b36 commit 8e2f758
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MSDKDns/MSDKDnsService.m
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ - (void)resolver:(MSDKDnsResolver *)resolver didGetDomainInfo:(NSDictionary *)do
if (enableKeepDomainsAlive) {
MSDKDNSLOG(@"The cache update request start! request domain:%@",domain);
[[MSDKDnsManager shareInstance] refreshCacheDelay:@[domain] clearDispatchTag:YES];
}else {
[[MSDKDnsManager shareInstance] msdkDnsClearDomainsOpenDelayDispatch:@[domain]];

}
});
}
Expand Down

0 comments on commit 8e2f758

Please sign in to comment.