Session state is now reset through a central registry, so switching sessions clears things more reliably.
What's wrong with this entry?
Module-level mutable globals with hand-written getter and setter pairs were replaced by cells produced by a factory and tracked in a registry.
- the factory returns a
{get, set, reset}cell and pushes it onto the registry - session reset now clears the maps and loops the registry calling
reset()instead of nulling each variable by name - a number of one-line getters and setters were removed as a result
reset: () => {
Strings lifted out of the shipped bundle, so the claim above can be checked against them.