mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 12:02:14 +00:00
Fix DDI mount watchdog crash (hopefully)
This commit is contained in:
parent
66e359c7e2
commit
70d31322e7
1 changed files with 4 additions and 2 deletions
|
|
@ -32,7 +32,9 @@ final class MountingProgress: ObservableObject {
|
|||
}
|
||||
|
||||
func pubMount() {
|
||||
mount()
|
||||
DispatchQueue.global(qos: .utility).async { [weak self] in
|
||||
self?.mount()
|
||||
}
|
||||
}
|
||||
|
||||
private func mount() {
|
||||
|
|
@ -62,7 +64,7 @@ final class MountingProgress: ObservableObject {
|
|||
if let mountError {
|
||||
showAlert(title: "DDI Mount Failed", message: mountError, showOk: true, showTryAgain: true) { shouldTryAgain in
|
||||
if shouldTryAgain {
|
||||
self.mount()
|
||||
self.pubMount()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue