Skip to content

Conversation

@santigimeno
Copy link
Member

@santigimeno santigimeno commented Nov 16, 2023

src: change EnvList::promise_tracking_() signature

Pass directly the SharedEnvInst.
src: fix EnvInst::GetCurrent()

Handle the case where the `Environment` is already nullptr.
src: cleanup the RunCommand queues on RemoveEnv

Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.
src: fix SetupArrayBufferExports() declaration

Fixes: #26

@santigimeno santigimeno self-assigned this Nov 16, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
@santigimeno santigimeno force-pushed the santi/fix_shared_envinst_leak branch from 03690a8 to f16e228 Compare November 22, 2023 14:24
@santigimeno santigimeno merged commit f16e228 into node-v20.x-nsolid-v5.x Nov 22, 2023
@santigimeno santigimeno deleted the santi/fix_shared_envinst_leak branch November 22, 2023 14:25
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.

PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
PR-URL: #25
Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
Just to be sure no dangling SharedEnvInst references are left after the
Environment is gone and the EnvInst instance can be deleted.

PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
PR-URL: #25
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leak detected when running the tests with ASAN.

3 participants