From c3380daa75d016b49e8eaa96c075503b636ddf34 Mon Sep 17 00:00:00 2001 From: Reactor Scram Date: Wed, 10 Jul 2024 20:29:16 +0000 Subject: [PATCH] fix(gui-client/windows): deactivate DNS control when we stop connlib (#5828) Closes #5827 --------- Signed-off-by: Reactor Scram Co-authored-by: Jamil --- rust/headless-client/src/ipc_service.rs | 1 + website/src/components/Changelog/GUI.tsx | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/rust/headless-client/src/ipc_service.rs b/rust/headless-client/src/ipc_service.rs index 43a348da4..176e03e2b 100644 --- a/rust/headless-client/src/ipc_service.rs +++ b/rust/headless-client/src/ipc_service.rs @@ -302,6 +302,7 @@ impl Handler { ClientMsg::Disconnect => { if let Some(connlib) = self.connlib.take() { connlib.disconnect(); + dns_control::deactivate()?; } else { tracing::error!("Error - Got Disconnect when we're already not connected"); } diff --git a/website/src/components/Changelog/GUI.tsx b/website/src/components/Changelog/GUI.tsx index 4102dd4c8..652a142dd 100644 --- a/website/src/components/Changelog/GUI.tsx +++ b/website/src/components/Changelog/GUI.tsx @@ -11,6 +11,19 @@ export default function GUI({ title }: { title: string }) { return ( + {/* +
    +
  • + Fixes{" "} + + a bug where DNS could stop working when you sign out. + +
  • +
+
*/}