mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-04-27 15:07:39 +00:00
Resolve warning on Swift 5.10
This commit is contained in:
parent
91f75843da
commit
9a5e127387
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ public struct Shell {
|
||||||
return AsyncThrowingStream<Progress, Error> { continuation in
|
return AsyncThrowingStream<Progress, Error> { continuation in
|
||||||
|
|
||||||
Task {
|
Task {
|
||||||
var progress = Progress()
|
// Assume progress will not have data races, so we manually opt-out isolation checks.
|
||||||
|
nonisolated(unsafe) var progress = Progress()
|
||||||
progress.kind = .file
|
progress.kind = .file
|
||||||
progress.fileOperationKind = .downloading
|
progress.fileOperationKind = .downloading
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue