Also close the clients

Former-commit-id: 284f1ce627
This commit is contained in:
Owen
2025-12-02 11:17:34 -05:00
parent bc533acd4a
commit e156a16a0f

View File

@@ -791,6 +791,7 @@ persistent_keepalive_interval=5`, util.FixKey(privateKey.String()), util.FixKey(
// Close the WireGuard device and TUN
closeWgTunnel()
closeClients()
if stopFunc != nil {
stopFunc() // stop the ws from sending more requests