From 5e34531e326d8f9b67cddd5f5af34265381be0d0 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 23 Nov 2020 17:17:17 +0100 Subject: downloader: wait for download thread Signed-off-by: Robert C. Helling --- cli-downloader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cli-downloader.cpp') diff --git a/cli-downloader.cpp b/cli-downloader.cpp index 77053c0c7..1cf97f487 100644 --- a/cli-downloader.cpp +++ b/cli-downloader.cpp @@ -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(); } -- cgit v1.2.3-70-g09d2