From 4c0871b6dcdb33b1fd18d3c3a2f93e724ceec33f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 11 Sep 2023 13:39:29 -0700 Subject: [PATCH] macos: don't clear contentview for configuration on close --- .../Features/Settings/ConfigurationErrorsController.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/macos/Sources/Features/Settings/ConfigurationErrorsController.swift b/macos/Sources/Features/Settings/ConfigurationErrorsController.swift index fba594dde..6e7a809cb 100644 --- a/macos/Sources/Features/Settings/ConfigurationErrorsController.swift +++ b/macos/Sources/Features/Settings/ConfigurationErrorsController.swift @@ -38,9 +38,6 @@ class ConfigurationErrorsController: NSWindowController, NSWindowDelegate { //MARK: - NSWindowDelegate func windowWillClose(_ notification: Notification) { - guard let window = window else { return } - window.contentView = nil - if let cancellable = cancellable { cancellable.cancel() self.cancellable = nil