We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b20490 commit 0afe09aCopy full SHA for 0afe09a
packages/runtime/src/Handle.ts
@@ -27,7 +27,7 @@ export class HandleStore extends BaseArrayStore<any> {
27
for (let i = start; i < end; ++i) {
28
const value = this._values[i]
29
const type = typeof value
30
- if ((type === 'object' && value !== null) || type === 'symbol') {
+ if ((type === 'object' && value !== null) || (type === 'symbol' && Symbol.keyFor(value) === undefined)) {
31
this._values[i] = new WeakRef(value)
32
}
33
0 commit comments