• Eduardo Sanz García's avatar
    Use `WeakMap` to store `MessageChannel` · 0c0a639b
    Eduardo Sanz García authored
    We use `Window` objects as keys on a map. Windows can be removed.
    `WeakMap` has the characteristic that keys that are claimed by the
    garbage collector are removed from the map. In this way, we are memory
    friendly and don't retain any defunct object.
    0c0a639b
Name
Last commit
Last update
..
test Loading commit data...
bridge.js Loading commit data...
injector.js Loading commit data...
listener-collection.js Loading commit data...
port-finder.js Loading commit data...
port-provider.js Loading commit data...
port-rpc.js Loading commit data...
port-util.js Loading commit data...
prompts.js Loading commit data...
renderer-options.js Loading commit data...
shortcut.js Loading commit data...
type-coercions.js Loading commit data...
user-agent.js Loading commit data...
warn-once.js Loading commit data...