mirror of
https://github.com/samsonjs/SJSAssetExportSession.git
synced 2026-03-25 08:45:50 +00:00
Remove unnecessary Task.yield() to fix an intermittent hang
This commit is contained in:
parent
127dbf296b
commit
7440301b15
1 changed files with 0 additions and 1 deletions
|
|
@ -145,7 +145,6 @@ actor SampleWriter {
|
|||
progressContinuation?.yield(1.0)
|
||||
|
||||
// Make sure the last progress value is yielded before returning.
|
||||
await Task.yield()
|
||||
await withCheckedContinuation { continuation in
|
||||
progressContinuation?.onTermination = { _ in
|
||||
continuation.resume(returning: ())
|
||||
|
|
|
|||
Loading…
Reference in a new issue