Closed PeterIvanov closed 5 years ago
As it stands, error is not goroutiune-safe due to a couple of mutable fields. With this PR, a copying strategy is implemented. The overhead is expected to be low, as these modifications are rare in practice.
As it stands, error is not goroutiune-safe due to a couple of mutable fields. With this PR, a copying strategy is implemented. The overhead is expected to be low, as these modifications are rare in practice.