llvm-project
12fa4b17 - [lldb] Make sure that a `Progress` "completed" update is always reported at destruction (#102097)

Commit
1 year ago
[lldb] Make sure that a `Progress` "completed" update is always reported at destruction (#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."
Author
Parents
Loading