BF: Protect concurrent writes to _active_scopes
I'm sure I read somewhere that the unordered_map supported this, but I was wrong, at least on macOS.
_active_scopes
I'm sure I read somewhere that the unordered_map supported this, but I was wrong, at least on macOS.