summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/View controllers/SelectLocation/LocationNode.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/View controllers/SelectLocation/LocationNode.swift b/ios/MullvadVPN/View controllers/SelectLocation/LocationNode.swift
index 38e6197fcd..8be5c29580 100644
--- a/ios/MullvadVPN/View controllers/SelectLocation/LocationNode.swift
+++ b/ios/MullvadVPN/View controllers/SelectLocation/LocationNode.swift
@@ -13,7 +13,7 @@ class LocationNode {
let name: String
var code: String
var locations: [RelayLocation]
- var parent: LocationNode?
+ weak var parent: LocationNode?
var children: [LocationNode]
var showsChildren: Bool
var isHiddenFromSearch: Bool