mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(gui-client/windows): deactivate DNS control when we stop connlib (#5828)
Closes #5827 --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -11,6 +11,19 @@ export default function GUI({ title }: { title: string }) {
|
||||
|
||||
return (
|
||||
<Entries href={href} arches={arches} title={title}>
|
||||
{/*<Entry version="1.1.6" date={new Date("2024-07-10")}>
|
||||
<ul className="list-disc space-y-2 pl-4 mb-4">
|
||||
<li className="pl-2">
|
||||
Fixes{" "}
|
||||
<Link
|
||||
href="https://github.com/firezone/firezone/pull/5827"
|
||||
className="text-accent-500 underline hover:no-underline"
|
||||
>
|
||||
a bug where DNS could stop working when you sign out.
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</Entry>*/}
|
||||
<Entry version="1.1.5" date={new Date("2024-07-08")}>
|
||||
<ul className="list-disc space-y-2 pl-4 mb-4">
|
||||
<li className="pl-2">
|
||||
|
||||
Reference in New Issue
Block a user