Skip to content

[lldb] Make sure that a Progress "completed" update is always repor… #9068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

JDevlieghere
Copy link

…ted at destruction (llvm#102097)

Make all Progress destructions to cause progressEnd events, regardless of the value of m_completed before the destruction.

Currently, a Progress instance with m_completed != 0 && m_complete != m_total will cause a progressUpdate event (not progressEnd) at destruction and. This contradicts with the classdoc: "a progress completed update is reported even if the user doesn't explicitly cause one to be sent."

(cherry picked from commit 12fa4b1)

…ted at destruction (llvm#102097)

Make all `Progress` destructions to cause `progressEnd` events,
regardless of the value of `m_completed` before the destruction.

Currently, a `Progress` instance with `m_completed != 0 && m_complete !=
m_total` will cause a `progressUpdate` event (not `progressEnd`) at
destruction and. This contradicts with the classdoc: "a progress completed
update is reported even if the user doesn't explicitly cause one to be sent."

(cherry picked from commit 12fa4b1)
@JDevlieghere
Copy link
Author

@swift-ci test

@JDevlieghere JDevlieghere merged commit a6451e5 into swift/release/6.0 Aug 8, 2024
3 checks passed
@JDevlieghere JDevlieghere deleted the jdevlieghere/cherrypick-12fa4b17dced branch August 8, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants