You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. I have no ideas now, i will take a look later. But i think it is not related to gc because this case will keep the channel object alive. It is different from #42170. cc @Qard.
.
Running the code as follows will trigger this error always(./node --expose-gc test/parallel/test-diagnostics-channel-net.js). The callback of onGC will be triggered before timeout.
Activity
kvakil commentedon Aug 5, 2022
@theanarkh any thoughts? It's weird also that the stack trace does not include any indication what's not being called. :\
edit: never mind, I think I found it: #44144
test: deflake test-diagnostics-channel-net
theanarkh commentedon Aug 5, 2022
Thanks. I have no ideas now, i will take a look later. But i think it is not related to
gcbecause this case will keep the channel object alive. It is different from #42170. cc @Qard..
theanarkh commentedon Aug 5, 2022
@Qard Hi, what do you think about this case. Is it the wrong way to use
diagnostics_channel?Qard commentedon Aug 5, 2022
Already approved the fix in #44144.
theanarkh commentedon Aug 5, 2022
But there's a lot of usage in the code, and if there's a problem, it all needs to be fixed ?

theanarkh commentedon Aug 6, 2022
Running the code as follows will trigger this error always(./node --expose-gc test/parallel/test-diagnostics-channel-net.js). The callback of
onGCwill be triggered before timeout.it is related to
gcindeed. I will send a PR to fix this.Thanks !test: deflake test-diagnostics-channel-net
lib: fix diagnostics channel
lib: fix diagnostics channel
lib: fix diagnostics channel
test: deflake test-diagnostics-channel-net
lib: fix diagnostics channel
test: deflake test-diagnostics-channel-net
lib: fix diagnostics channel
test: deflake test-diagnostics-channel-net
lib: fix diagnostics channel
test: deflake test-diagnostics-channel-net