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