mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-10-12 01:58:46 +02:00
fix(cli): release runtime resources across startup and shutdown
Co-authored-by: Ginder Singh <ginder@windscribe.com>
This commit is contained in:
1 parent
f823977992
commit
3127212eca
19 files changed
+1701
-74
No files matched your search
@@ -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() {}
|
||||
|
||||
Reference in new issue
Block a user