From 50f6ff311c0981935108d50e0269e53634535dde Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 17 Jan 2019 14:03:59 +0530 Subject: [PATCH] macOS: Application: Fix comment --- WireGuard/WireGuard/UI/macOS/Application.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {