mirror of
https://github.com/datarhei/core.git
synced 2025-12-24 13:07:56 +08:00
Cosmetics
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user