Comment Comment by ernado It is right, race detector is not enabled by default and you should explicitly run tests with it or tell compiler to enable it - it is not compile-time, but run-time.But still, it detects this error. parent ernado 6 years ago
But still, it detects this error.