mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-28 14:50:26 +08:00
feat(p2p): add ICMP backend support
This commit is contained in:
@@ -208,7 +208,10 @@ func (m *Me) NetworkConfigs() []any {
|
||||
|
||||
func (m *Me) Close() error {
|
||||
for i := 0; i < len(m.jobs); i++ {
|
||||
close(m.jobs[i])
|
||||
jb := m.jobs[i]
|
||||
if jb != nil {
|
||||
close(jb)
|
||||
}
|
||||
}
|
||||
m.connections = nil
|
||||
if bin.IsNonNilInterface(m.conn) {
|
||||
|
||||
Reference in New Issue
Block a user