Skip to content

Commit 8188f31

Browse files
committed
Clear stored progressValue on complete.
1 parent f92c2c0 commit 8188f31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SwiftTask/_StateMachine.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,6 @@ internal class _StateMachine<Progress, Value, Error>
114114
self.progressTupleHandlers.removeAll()
115115
self.completionHandlers.removeAll()
116116
self.configuration.clear()
117+
self.progress = nil
117118
}
118119
}

0 commit comments

Comments
 (0)