src: cleanup per-isolate state on platform on isolate unregister · nodejs/node@de7403f · GitHub
Skip to content

Commit de7403f

Browse files
addaleaxtargos
authored andcommitted
src: cleanup per-isolate state on platform on isolate unregister
Clean up once all references to an `Isolate*` are gone from the `NodePlatform`, rather than waiting for the `PerIsolatePlatformData` struct to be deleted since there may be cyclic references between that struct and the individual tasks. PR-URL: #20876 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
1 parent 9047c81 commit de7403f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/node_platform.cc

Lines changed: 11 additions & 0 deletions

0 commit comments

Comments
 (0)