From 0f6335438464504cb91b2e1e2d9a1630bffb37d3 Mon Sep 17 00:00:00 2001 From: Ben Hillis Date: Mon, 1 Dec 2025 17:01:19 -0800 Subject: [PATCH] Update src/windows/common/VirtioNetworking.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/windows/common/VirtioNetworking.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/common/VirtioNetworking.cpp b/src/windows/common/VirtioNetworking.cpp index 0df0792..a633696 100644 --- a/src/windows/common/VirtioNetworking.cpp +++ b/src/windows/common/VirtioNetworking.cpp @@ -24,6 +24,8 @@ VirtioNetworking::VirtioNetworking( VirtioNetworking::~VirtioNetworking() { + // Unregister the network notification callback to prevent it from using the GNS channel. + m_networkNotifyHandle.reset(); // Stop the GNS channel to unblock any stuck communications with the guest. m_gnsChannel.Stop(); }