Skip to content

Commit

Permalink
启动任务修改
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdock committed Sep 10, 2024
1 parent df88f85 commit de55020
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ actor Bootstrap {
return
}
self.isRunning = true
defer {
self.isRunning = false
}
for provider in currentProviders where !provider.isBooted {
let start_time = CFAbsoluteTimeGetCurrent()
var success = false
Expand All @@ -56,7 +53,7 @@ actor Bootstrap {
return
}
}

self.isRunning = false
await bootIfNeed()
}
}
Expand Down

0 comments on commit de55020

Please sign in to comment.