By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
make WireGuard client interface setup idempotent on repeated config updates
serialize periodic bandwidth-check start/stop to avoid shutdown races
cleanly close the native UAPI listener during client shutdown
How to test?
Internal code fixes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/newt/pull/278
**Author:** [@LaurenceJJones](https://github.com/LaurenceJJones)
**Created:** 3/16/2026
**Status:** 🔄 Open
**Base:** `dev` ← **Head:** `fix/clients-goroutine-lifecycle`
---
### 📝 Commits (1)
- [`8a5bfb5`](https://github.com/fosrl/newt/commit/8a5bfb59dfd66bf0cd61efce7a4e7323e7e2f725) fix(client): prevent wireguard lifecycle reinitialization
### 📊 Changes
**1 file changed** (+83 additions, -12 deletions)
<details>
<summary>View changed files</summary>
📝 `clients/clients.go` (+83 -12)
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
- make WireGuard client interface setup idempotent on repeated config updates
- serialize periodic bandwidth-check start/stop to avoid shutdown races
- cleanly close the native UAPI listener during client shutdown
## How to test?
Internal code fixes.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/278
Author: @LaurenceJJones
Created: 3/16/2026
Status: 🔄 Open
Base:
dev← Head:fix/clients-goroutine-lifecycle📝 Commits (1)
8a5bfb5fix(client): prevent wireguard lifecycle reinitialization📊 Changes
1 file changed (+83 additions, -12 deletions)
View changed files
📝
clients/clients.go(+83 -12)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
How to test?
Internal code fixes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.