fix crash

This commit is contained in:
neon443 committed 2025-09-03 20:50:19 +01:00
1 parent 2331c55abf
commit d39f176f72
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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()
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.