Closed justjake closed 4 years ago
See: https://github.com/awnumar/memguard/blob/843870774d02d62e39559a85f0c7f46720caf8d9/core/buffer.go#L109
Should this not require Lock() to avoid conflict with Melt()? What is the reasoning behind RLock()?
Well spotted, thanks.
See: https://github.com/awnumar/memguard/blob/843870774d02d62e39559a85f0c7f46720caf8d9/core/buffer.go#L109
Should this not require Lock() to avoid conflict with Melt()? What is the reasoning behind RLock()?