UnknownFrame generates unique frame identifier using Rand.Int() method on shared instance of Rand in a variable uidGenerator. But this method is not thread safe.
Go race detector finds this when trying to concurrently create ID3 tags with such frames.
UnknownFrame
generates unique frame identifier using Rand.Int() method on shared instance ofRand
in a variableuidGenerator
. But this method is not thread safe.Go race detector finds this when trying to concurrently create ID3 tags with such frames.