mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Fix clearing incorrect array
This commit is contained in:
@@ -331,7 +331,7 @@ using namespace openvpn;
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)setPeerInfo:(NSDictionary<NSString *,NSString *> *)peerInfo {
|
- (void)setPeerInfo:(NSDictionary<NSString *,NSString *> *)peerInfo {
|
||||||
_config.contentList.clear();
|
_config.peerInfo.clear();
|
||||||
|
|
||||||
if (!peerInfo) {
|
if (!peerInfo) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user