mirror of
https://github.com/keroserene/snowflake.git
synced 2026-08-18 13:08:58 +02:00
This fixes a race condition in which snowflakes.End() is called while snowflakes.Collect() is in progress resulting in a write to a closed channel. We now wait for all in-progress collections to finish and add an extra check before proceeding with a collection. |
||
|---|---|---|
| .. | ||
| interfaces.go | ||
| lib_test.go | ||
| peers.go | ||
| rendezvous.go | ||
| snowflake.go | ||
| turbotunnel.go | ||
| util.go | ||
| webrtc.go | ||