mirror of
https://github.com/neon443/ShhShell.git
synced 2026-11-30 20:54: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
|
//header
|
||||||
HStack(alignment: .center, spacing: 10) {
|
HStack(alignment: .center, spacing: 10) {
|
||||||
Button() {
|
Button() {
|
||||||
|
dismiss()
|
||||||
for session in container.sessions.values {
|
for session in container.sessions.values {
|
||||||
session.handler.disconnect()
|
session.handler.disconnect()
|
||||||
session.handler.cleanup()
|
session.handler.cleanup()
|
||||||
}
|
}
|
||||||
dismiss()
|
|
||||||
} label: {
|
} label: {
|
||||||
TrafficLightRed()
|
TrafficLightRed()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule SwiftTerm updated: 53d264186a...44c9724e7d.