diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-11-23 17:17:17 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | 5e34531e326d8f9b67cddd5f5af34265381be0d0 (patch) | |
tree | 813b870470bb22e6cfa2b2fdb2cd39d68779840f /cli-downloader.cpp | |
parent | eac59a79d8e9589ccc3f1c8879478fd1b9502eef (diff) | |
download | subsurface-5e34531e326d8f9b67cddd5f5af34265381be0d0.tar.gz |
downloader: wait for download thread
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'cli-downloader.cpp')
-rw-r--r-- | cli-downloader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |