diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-02 14:44:46 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-02 14:44:47 +0100 |
commit | 1b792a07dd1f48b145ea2fc610f3476dadc774f0 (patch) | |
tree | fbe5df0bd2924b7a6eb366a55f01de2df529c41c /src/orchestrator/orchestrator.rs | |
parent | 928b85f24bee213442a596675143eb06a29b1550 (diff) |
Fix: Make sure that bar is moved to LogReceiver, drop it afterwards
This patch makes the bar moved to the LogReceiver instead of borrowing it to it.
Because ProgressBar::clone() is cheap (according to indicatif documentation it
is just an Arc<> holding the actual object), we can do this here without fearing
the overhead.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/orchestrator/orchestrator.rs')
0 files changed, 0 insertions, 0 deletions