-
Notifications
You must be signed in to change notification settings - Fork 13
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
Reference counted ScipPtr #139
Conversation
@Nudelmeister turns out it was easy to do the change 😄 I would really appreciate a review here if you have the time :) Update: there's a memory leak not sure why yet. 2nd Update: Fixed, was most probably because of thread unsafe counting of scip ptr references. 3rd Update: Was a false positive apparently :/ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #139 +/- ##
==========================================
+ Coverage 76.02% 76.13% +0.10%
==========================================
Files 13 13
Lines 1785 1797 +12
==========================================
+ Hits 1357 1368 +11
- Misses 428 429 +1 ☔ View full report in Codecov by Sentry. |
This seems fine, though I thought of wrapping the whole ScipPtr struct in an Arc. |
You could use a Thanks for the quick response. |
Thanks for the suggestion, I changed it :) There's still a memory leak, I will merge this once I figure out why and fix it.
Thank you too for the quick review :) |
Fixes #138