|
resource[this.kResourceStore] = store; |
You are using the resource object to store the store whereas the doc state :
In some cases the resource object is reused for performance reasons, it is thus not safe to use it as a key in a WeakMap or add properties to it.
I just wondering if it is ok.
node/lib/async_hooks.js
Line 248 in 9949a2e
You are using the
resourceobject to store thestorewhereas the doc state :I just wondering if it is ok.