Also close the clients

This commit is contained in:
Owen
2025-12-02 11:17:34 -05:00
parent cd466ac43f
commit 284f1ce627

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