diff --git a/src/yggdrasil/core.go b/src/yggdrasil/core.go index 351e1904..4a55b007 100644 --- a/src/yggdrasil/core.go +++ b/src/yggdrasil/core.go @@ -175,6 +175,7 @@ func (c *Core) Stop() { // This function is unsafe and should only be ran by the core actor. func (c *Core) _stop() { + c.PacketConn.Close() c.log.Infoln("Stopping...") if c.addPeerTimer != nil { c.addPeerTimer.Stop()