src: Simplify Reference closed logic and prevent value assignment if not still running. Now if a Reference is closed while running, it won't assign and an error will be emitted to whatever is listening.
src: Simplify Reference closed logic and prevent value assignment if not still running. Now if a Reference is closed while running, it won't assign and an error will be emitted to whatever is listening.

novacrazy/scriptor