diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-04-17 22:57:39 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-04-23 15:31:47 +0200 |
| commit | b0f5b60658fb723f224517b4232e3928fe7fe006 (patch) | |
| tree | 8d13bcd8b6f3658396f2c1b5150d3ff9ba5593db /mullvad-daemon/src/lib.rs | |
| parent | 0329c9e1c813da258f09d435809f3c7ce0f6293f (diff) | |
| download | mullvadvpn-b0f5b60658fb723f224517b4232e3928fe7fe006.tar.xz mullvadvpn-b0f5b60658fb723f224517b4232e3928fe7fe006.zip | |
Remove pointless round trip for version check
Diffstat (limited to 'mullvad-daemon/src/lib.rs')
| -rw-r--r-- | mullvad-daemon/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index 52df09e6d5..2043936845 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -857,7 +857,7 @@ where on_relay_list_update, ); - let (version_updater, version_updater_handle) = version_check::VersionUpdater::new( + let version_updater_handle = version_check::VersionUpdater::spawn( api_handle.clone(), api_availability.clone(), cache_dir.clone(), @@ -865,7 +865,6 @@ where settings.show_beta_releases, ) .await; - tokio::spawn(version_updater.run()); // Attempt to download a fresh relay list relay_list_updater.update().await; |
