client: fix crash when opening UDP listeners (#893)

This commit is contained in:
Alessandro Ros
2025-09-16 10:35:31 +02:00
committed by GitHub
parent ead4471b5c
commit 3f446ed08d

View File

@@ -74,7 +74,7 @@ func createUDPListenerPair(
} }
err = l2.initialize() err = l2.initialize()
if err != nil { if err != nil {
l2.close() l1.close()
continue continue
} }