File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Sources/OpenSwiftUICore/Graph Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -426,17 +426,21 @@ extension GraphHost {
426426 package final func emptyTransaction( _ transaction: Transaction = . init( ) ) {
427427 asyncTransaction ( transaction, mutation: EmptyGraphMutation ( ) )
428428 }
429-
429+
430+ // Audited for 6.5.4
430431 package final func continueTransaction( _ body: @escaping ( ) -> Void ) {
431432 Update . assertIsLocked ( )
432433 var host = self
433434 while !host. inTransaction {
434435 guard let parent = host. parentHost else {
435- Update . enqueueAction ( body)
436+ Update . enqueueAction ( reason: nil ) {
437+ host. asyncTransaction { body ( ) }
438+ }
436439 return
437440 }
438441 host = parent
439442 }
443+ // TODO: CustomEventTrace
440444 host. continuations. append ( body)
441445 }
442446
You can’t perform that action at this time.
0 commit comments