Closed benjie closed 1 year ago
Store the symbol onto a global, use an internal revision counter, only bump the counter when incompatible versions occur, all instances using the same revision number use the same symbol and thus are compatible.
Remove 'thereCanOnlyBeOne'
Ensure we don't use instanceof
instanceof
Thanks to @crubier for reporting; ref: https://discord.com/channels/489127045289476126/953710447087980654/1115230206102355968
Store the symbol onto a global, use an internal revision counter, only bump the counter when incompatible versions occur, all instances using the same revision number use the same symbol and thus are compatible.
Remove 'thereCanOnlyBeOne'
Ensure we don't use
instanceof
Thanks to @crubier for reporting; ref: https://discord.com/channels/489127045289476126/953710447087980654/1115230206102355968