Small fixes
A selection of 80 fixes from 174 pull requests.
68.Cleaning up the same key twice
A repeated query key made cleanup access a handler set already deleted by its first occurrence. Skip registrations that are no longer present.
112const set = handlers.get(resolvedKeys[i])!const set = handlers.get(resolvedKeys[i])if (set === undefined) continue