mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: don't clear contentview for configuration on close
This commit is contained in:
@ -38,9 +38,6 @@ class ConfigurationErrorsController: NSWindowController, NSWindowDelegate {
|
|||||||
//MARK: - NSWindowDelegate
|
//MARK: - NSWindowDelegate
|
||||||
|
|
||||||
func windowWillClose(_ notification: Notification) {
|
func windowWillClose(_ notification: Notification) {
|
||||||
guard let window = window else { return }
|
|
||||||
window.contentView = nil
|
|
||||||
|
|
||||||
if let cancellable = cancellable {
|
if let cancellable = cancellable {
|
||||||
cancellable.cancel()
|
cancellable.cancel()
|
||||||
self.cancellable = nil
|
self.cancellable = nil
|
||||||
|
Reference in New Issue
Block a user