connection updates
This commit is contained in:
@@ -523,7 +523,11 @@ enum NativeMySQLRunner {
|
||||
}.value
|
||||
}
|
||||
|
||||
// Connection shutdown may wait behind a slow network operation on the
|
||||
// session's serial queue. Never make the SwiftUI main thread wait for it.
|
||||
static func disconnect(profileID: UUID) {
|
||||
PersistentMySQLSessions.shared.disconnect(profileID: profileID)
|
||||
Task.detached(priority: .utility) {
|
||||
PersistentMySQLSessions.shared.disconnect(profileID: profileID)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user