You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems all buf in channel use the same pointer which point to the underlying []byte since buf.Reset() does not change buf's address buf.Bytes() always return the same pointer.
use copy() to make a new []byte and then put it into channel can solve this.
The text was updated successfully, but these errors were encountered: