We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f781ca6 + acd2e2b commit f5d477cCopy full SHA for f5d477c
1 file changed
mullvad-daemon/src/version/check.rs
@@ -187,7 +187,12 @@ impl VersionUpdaterInner {
187
log::warn!(
188
"Not checking for updates because this is a development build and MULLVAD_ENABLE_DEV_UPDATES is not set"
189
);
190
- while let Some(()) = refresh_rx.next().await {}
+ // Send the initial dev cache so the router has a version immediately
191
+ let _ = update.update_sender.send(dev_version_cache());
192
+ // Respond to every refresh request with the same dev cache
193
+ while let Some(()) = refresh_rx.next().await {
194
195
+ }
196
return;
197
}
198
0 commit comments