From: Roopesh Chander Date: Sun, 17 Mar 2019 10:29:55 +0000 (+0530) Subject: macOS: Nullify observationToken on prepareForReuse() X-Git-Tag: 0.0.20190319-1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f81275812c7318f34fcc3c605f81b4437dddfe98;p=thirdparty%2Fwireguard-apple.git macOS: Nullify observationToken on prepareForReuse() Signed-off-by: Roopesh Chander --- 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 } }