Skip to content

Add synchronization to prevent post-melt collects

Cecylia Bocovich requested to merge cohosh/snowflake:issue/40017 into master

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.

Closes #40017 (closed)

Merge request reports