mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-03 11:57:48 +00:00
refactor searches to store a pointer to router instead of core
This commit is contained in:
@ -74,7 +74,7 @@ func (r *router) init(core *Core) {
|
||||
r.nodeinfo.setNodeInfo(r.core.config.Current.NodeInfo, r.core.config.Current.NodeInfoPrivacy)
|
||||
r.core.config.Mutex.RUnlock()
|
||||
r.dht.init(r)
|
||||
r.searches.init(r.core)
|
||||
r.searches.init(r)
|
||||
r.sessions.init(r.core)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user