Fix DDI mount watchdog crash (hopefully)

This commit is contained in:
Stephen 2026-08-25 11:08:54 -04:00
parent 66e359c7e2
commit 70d31322e7

View file

@ -32,7 +32,9 @@ final class MountingProgress: ObservableObject {
} }
func pubMount() { func pubMount() {
mount() DispatchQueue.global(qos: .utility).async { [weak self] in
self?.mount()
}
} }
private func mount() { private func mount() {
@ -62,7 +64,7 @@ final class MountingProgress: ObservableObject {
if let mountError { if let mountError {
showAlert(title: "DDI Mount Failed", message: mountError, showOk: true, showTryAgain: true) { shouldTryAgain in showAlert(title: "DDI Mount Failed", message: mountError, showOk: true, showTryAgain: true) { shouldTryAgain in
if shouldTryAgain { if shouldTryAgain {
self.mount() self.pubMount()
} }
} }
} else { } else {