downloader: wait for download thread

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2020-11-23 17:17:17 +01:00 committed by Dirk Hohndel
parent eac59a79d8
commit 5e34531e32
3 changed files with 7 additions and 0 deletions

View file

@ -36,4 +36,5 @@ void cliDownloader(const char *vendor, const char *product, const char *device)
// before we start, remember where the dive_table ended
diveImportedModel->startDownload();
diveImportedModel->waitForDownload();
}