mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
feat: added releasing all processes when closing the popup view
This commit is contained in:
@@ -154,6 +154,8 @@ private class Popup: NSStackView, Popup_p {
|
||||
}
|
||||
|
||||
public func settings() -> NSView? { return nil }
|
||||
public func appear() {}
|
||||
public func disappear() {}
|
||||
|
||||
@objc private func reinit() {
|
||||
self.subviews.forEach({ $0.removeFromSuperview() })
|
||||
|
||||
Reference in New Issue
Block a user