mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Use Close() for admin socket
This commit is contained in:
parent
2a931df07a
commit
a5af69df8a
2 changed files with 12 additions and 15 deletions
|
@ -135,7 +135,7 @@ func (c *Core) Start(nc *config.NodeConfig, log *log.Logger) error {
|
|||
func (c *Core) Stop() {
|
||||
c.log.Println("Stopping...")
|
||||
c.tun.close()
|
||||
c.admin.stop()
|
||||
c.admin.close()
|
||||
}
|
||||
|
||||
// Generates a new encryption keypair. The encryption keys are used to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue