1
0
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:
源文雨
2026-04-11 15:02:45 +08:00
parent 9e642f875a
commit 23d9238464
19 changed files with 809 additions and 28 deletions

View File

@@ -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) {