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

fix Memory safety #39

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

oscardssmith
Copy link
Contributor

see https://docs.julialang.org/en/v1/manual/calling-c-and-fortran-code/#Garbage-Collection-Safety. by using pointer in this way, Julia was not guaranteed to not garbage collect the memory out from under you. This is still a little iffy, but it's a lot better.

@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.26%. Comparing base (446a14b) to head (ce4644c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   98.26%   98.26%           
=======================================
  Files           1        1           
  Lines         115      115           
=======================================
  Hits          113      113           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iblislin iblislin merged commit 97e1f95 into JuliaML:master Dec 12, 2024
10 checks passed
@oscardssmith oscardssmith deleted the os/fix-memory-safety branch December 12, 2024 03:50
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.

3 participants