Skip to content

Fixing Race Condition in NewCounter

Compare
Choose a tag to compare
@thechopkins thechopkins released this 03 Jan 02:00
· 89 commits to master since this release
f060fc5

Fixing race condition with publish. If two threads try to create the same counter they can both try and export the same variable. Doing this causes the second thread to panic.