Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: cleanup the RunCommand queues on RemoveEnv #25

Merged
merged 4 commits into from
Nov 22, 2023

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 <[email protected]>
Handle the case where the `Environment` is already nullptr.

PR-URL: #25
Reviewed-by: Santiago Gimeno <[email protected]>
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 <[email protected]>
@santigimeno santigimeno merged commit f16e228 into node-v20.x-nsolid-v5.x Nov 22, 2023
15 of 18 checks passed
@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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <[email protected]>
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 <[email protected]>
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 <[email protected]>
trevnorris pushed a commit that referenced this pull request Nov 30, 2023
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <[email protected]>
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 <[email protected]>
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 <[email protected]>
trevnorris pushed a commit that referenced this pull request Dec 5, 2023
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
Pass directly the SharedEnvInst.

PR-URL: #25
Reviewed-by: Trevor Norris <[email protected]>
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 <[email protected]>
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 <[email protected]>
trevnorris pushed a commit that referenced this pull request Dec 7, 2023
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.
2 participants