diff options
author | 2019-03-17 15:59:55 +0530 | |
---|---|---|
committer | 2019-03-18 06:46:55 +0100 | |
commit | f81275812c7318f34fcc3c605f81b4437dddfe98 (patch) | |
tree | 06637c32bc8f42c5052622e7bd660efce3d132ae /WireGuard/WireGuard/UI/macOS/View | |
parent | TunnelName: sort correctly with numbers and capitals (diff) | |
download | wireguard-apple-f81275812c7318f34fcc3c605f81b4437dddfe98.tar.xz wireguard-apple-f81275812c7318f34fcc3c605f81b4437dddfe98.zip |
macOS: Nullify observationToken on prepareForReuse()
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/View')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift b/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift index 3d3f257..2f037d8 100644 --- a/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift +++ b/WireGuard/WireGuard/UI/macOS/View/KeyValueRow.swift @@ -108,6 +108,7 @@ class EditableKeyValueRow: NSView { key = "" value = "" isKeyInBold = false + observationToken = nil } } |