From: Roopesh Chander Date: Thu, 17 Jan 2019 08:33:59 +0000 (+0530) Subject: macOS: Application: Fix comment X-Git-Tag: 0.0.20190207-1~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98775bf8a0427f74a2ef9fda41c4eaff33d02cd0;p=thirdparty%2Fwireguard-apple.git macOS: Application: Fix comment Signed-off-by: Roopesh Chander --- diff --git a/WireGuard/WireGuard/UI/macOS/Application.swift b/WireGuard/WireGuard/UI/macOS/Application.swift index 644bbab..5305f2a 100644 --- a/WireGuard/WireGuard/UI/macOS/Application.swift +++ b/WireGuard/WireGuard/UI/macOS/Application.swift @@ -19,12 +19,10 @@ class Application: NSApplication { private var appDelegate: AppDelegate? //swiftlint:disable:this weak_delegate - // We use a custom Application class to be able to set the app delegate - // before app.run() gets called in NSApplicationMain(). override init() { super.init() appDelegate = AppDelegate() // Keep a strong reference to the app delegate - delegate = appDelegate + delegate = appDelegate // Set delegate before app.run() gets called in NSApplicationMain() } required init?(coder: NSCoder) {