You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's very unclear to me when a user must calll DecRef and must not call DecRef. We should provide a consistent rule to avoid memory leaks.
In this kind of library, a user generally needs to call DecRef on every object returned from any function. Although it increases code size, it's a lot safer than providing inconsistent rules.
The text was updated successfully, but these errors were encountered:
It's very unclear to me when a user must calll DecRef and must not call DecRef. We should provide a consistent rule to avoid memory leaks.
In this kind of library, a user generally needs to call DecRef on every object returned from any function. Although it increases code size, it's a lot safer than providing inconsistent rules.
The text was updated successfully, but these errors were encountered: