small memory fixes

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-03-27 01:17:47 +03:00
parent a07ad2387e
commit 51517885ff
5 changed files with 8 additions and 40 deletions

View File

@@ -9,10 +9,10 @@ import (
// tableWatcher implements routing table Watcher
type tableWatcher struct {
sync.RWMutex
id string
opts router.WatchOptions
resChan chan *router.Event
done chan struct{}
id string
opts router.WatchOptions
}
// Next returns the next noticed action taken on table