We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f028eca + 333ff3d commit 7fa9b38Copy full SHA for 7fa9b38
Sources/OTOperations/Progress/LabelProgress.swift
@@ -202,6 +202,20 @@ public class LabelProgress: Progress {
202
203
}
204
205
+ deinit {
206
+
207
+ // manually nil the label
208
+ setUserInfoObject(nil, forKey: .label)
209
210
+ // notify the parent to update
211
+ if let parentProgress = labelProgressParent {
212
+ DispatchQueue.global().async {
213
+ parentProgress.updateUserInfoWithChildLabelsAndNotifyParent()
214
+ }
215
216
217
218
219
220
221
#endif
0 commit comments