mirror of
https://github.com/neon443/ShhShell.git
synced 2026-11-30 12:44:51 +00:00
fix crash
This commit is contained in:
1 parent
2331c55abf
commit
d39f176f72
2 files changed
+2
-2
No files matched your search
@@ -53,11 +53,11 @@ struct ShellTabView: View {
|
||||
//header
|
||||
HStack(alignment: .center, spacing: 10) {
|
||||
Button() {
|
||||
dismiss()
|
||||
for session in container.sessions.values {
|
||||
session.handler.disconnect()
|
||||
session.handler.cleanup()
|
||||
}
|
||||
dismiss()
|
||||
} label: {
|
||||
TrafficLightRed()
|
||||
}
|
||||
|
||||