Files
netbird/util
Viktor Liu 5506507313 netrelay: wait for endpoint close before Relay returns
The closer goroutine ran asynchronously on ctx cancellation, so the
"fully closed when Relay returns" guarantee was racy: callers could see
the function return before a and b were actually Close()d. Wait on a
done channel in the defer so the guarantee holds.
2026-04-21 15:50:24 +02:00
..
2024-06-13 13:24:24 +02:00
2022-06-23 17:04:53 +02:00
2023-11-27 16:40:02 +01:00