Cosmetics

This commit is contained in:
Ingo Oppermann 2024-07-17 16:45:33 +02:00
parent f56c0dde14
commit 88739e3f7f
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

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 {