Commit 6baa3c4d authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Add synchronization to prevent post-melt collects

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.
parent d7aa9b83
Pipeline #1463 canceled with stage