Skip to content

feat: wrap cgo Handles with Erlang Resources #17

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

Merged
merged 10 commits into from
Aug 9, 2023
Merged

Conversation

MegaRedHand
Copy link
Collaborator

This PR uses Erlang's Resources to bind the lifetime of a cgo Handle to its Elixir counterpart. This solves memory leak issues, while avoiding having to explicitly call destructors.

@MegaRedHand MegaRedHand requested a review from a team as a code owner August 2, 2023 21:19
Base automatically changed from add-libp2p to main August 7, 2023 14:59
@MegaRedHand MegaRedHand merged commit 3b3ae06 into main Aug 9, 2023
@MegaRedHand MegaRedHand deleted the use-resources branch August 9, 2023 14:23
avilagaston9 pushed a commit that referenced this pull request Aug 9, 2024
# This is the 1st commit message:

chore(deps): bump jason from 1.4.3 to 1.4.4 (#1243)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# This is the commit message #2:

feat: add keystore API phoenix endpoint

# This is the commit message #3:

feat: add  GET /keystores endpoint

# This is the commit message #4:

fix: update port flag

# This is the commit message #5:

feat: add post method

# This is the commit message #6:

refactor: validator manager genserver removal (#1244)


# This is the commit message #7:

refactor: save keystores into validators

# This is the commit message #8:

feat: add delete endpoint

# This is the commit message #9:

fix: delete/add endpoints

# This is the commit message #10:

fix: try fix ci

# This is the commit message #11:

fix: test

# This is the commit message #12:

refactor: enhace readability

# This is the commit message #13:

perf: compute all committees at once at the beginning of an epoch. (#1245)


# This is the commit message #14:

fix: use other validators slot when adding a new validator

# This is the commit message #15:

refactor: restore pruning

# This is the commit message #16:

Update README.md

# This is the commit message #17:

refactor: nit changes

# This is the commit message #18:

chore(deps): bump open_api_spex from 3.20.0 to 3.20.1 (#1252)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# This is the commit message #19:

chore(deps-dev): bump recode from 0.7.2 to 0.7.3 (#1251)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.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.

2 participants