diff options
| -rw-r--r-- | mullvad-daemon/src/device/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mullvad-daemon/src/device/mod.rs b/mullvad-daemon/src/device/mod.rs index f0bae347d1..ae27e10438 100644 --- a/mullvad-daemon/src/device/mod.rs +++ b/mullvad-daemon/src/device/mod.rs @@ -550,6 +550,7 @@ impl AccountManager { async fn logout(&mut self, tx: ResponseTx<()>) { Self::drain_requests(&mut self.data_requests, || Err(Error::AccountChange)); if self.data.is_none() { + let _ = tx.send(Ok(())); return; } if let Err(err) = self.cacher.write(None).await { |
