fix: restore dns after using xray (#1902)

This commit is contained in:
Yaroslav Gurov
2025-10-02 14:58:53 +02:00
committed by GitHub
parent 30c8cc4548
commit 3ea47d31a9
12 changed files with 32 additions and 0 deletions
+1
View File
@@ -169,6 +169,7 @@ void XrayProtocol::stop()
#if defined(Q_OS_WIN) || defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
IpcClient::Interface()->disableKillSwitch();
IpcClient::Interface()->StartRoutingIpv6();
IpcClient::Interface()->restoreResolvers();
#endif
qDebug() << "XrayProtocol::stop()";
m_xrayProcess.disconnect();