macos: don't clear contentview for configuration on close

This commit is contained in:
Mitchell Hashimoto
2023-09-11 13:39:29 -07:00
parent f485672d4e
commit 4c0871b6dc

View File

@ -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