commit | 0d5bb784535bc40c3857c6dc87e0d6b9eace565c | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Jan 19 15:50:42 2021 -0800 |
committer | William A. Kennington III <wak@google.com> | Tue Jan 19 15:51:24 2021 -0800 |
tree | b034f7795c8704ccf3beec238845a78d64f0a806 | |
parent | 0674a6d7e2429d6577a4d08fac2ab882e1b4d454 [diff] [blame] |
tools/progress: Add finish and abort functions We have external progress handlers which would like to implement these functions, in order to update the screen upon completion or error. Change-Id: I2df4654d5e2092407a83d2c8bbb020dcce84ac50 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/tools/p2a.cpp b/tools/p2a.cpp index 090b9bd..b92887f 100644 --- a/tools/p2a.cpp +++ b/tools/p2a.cpp
@@ -128,6 +128,7 @@ } } while (bytesRead > 0); + progress->finish(); return true; }