mirror of https://github.com/matrix-org/go-neb.git
Browse Source
We can't just use a public field because the caller may clobber it. If they do clobber it, we've then lost the ability to set it back to what it was because we don't store another copy anywhere. This patch fixes it by keeping a private ref and always clobbering on Register(). This is horrible. We need to separate internal-storage and external-fields better.kegan/text-logging
Kegan Dougal
8 years ago
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue