mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Try to clean up UNIX domain admin sockets if shutdown properly
This commit is contained in:
parent
171e1e7823
commit
2a931df07a
2 changed files with 11 additions and 0 deletions
|
@ -135,6 +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()
|
||||
}
|
||||
|
||||
// Generates a new encryption keypair. The encryption keys are used to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue