Cosmetics

This commit is contained in:
Ingo Oppermann
2024-07-17 16:45:33 +02:00
parent f56c0dde14
commit 88739e3f7f

View File

@@ -107,9 +107,7 @@ func New(config Config) *Node {
}
func (n *Node) Stop() error {
n.lock.Lock()
defer n.lock.Unlock()
if n.cancel == nil {