fix(cli): release runtime resources across startup and shutdown

Co-authored-by: Ginder Singh <ginder@windscribe.com>
This commit is contained in:
Dev ScribeandGinder Singh authored and Cuong Manh Le committed 2026-09-28 16:49:42 +07:00
1 parent f823977992
commit 3127212eca
19 files changed
+1701 -74

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ type sourceTestMonitor struct {
started bool
}
func (*sourceTestMonitor) Close() error { return nil }
func (m *sourceTestMonitor) RegisterChangeCallback(fn netmon.ChangeFunc) func() {
m.callback = fn
return func() {}