feat: added releasing all processes when closing the popup view

This commit is contained in:
Serhiy Mytrovtsiy
2023-07-06 18:21:29 +02:00
parent fc2f9ea653
commit 8a98cfd645
6 changed files with 26 additions and 1 deletions

View File

@@ -108,6 +108,10 @@ internal class Popup: PopupWrapper {
fatalError("init(coder:) has not been implemented")
}
public override func disappear() {
self.processes.forEach{ $0.setLock(false) }
}
public func numberOfProcessesUpdated() {
if self.processes.count == self.numberOfProcesses {
return