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
I'm writing a new Julia wrapper for Z3, and I'm trying to understand how reference counting works. The documentation says I must call Z3_dec_ref for every AST object once it's no longer needed. But if I just delete the context with Z3_del_context, will that also free up the memory for the AST objects?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm writing a new Julia wrapper for Z3, and I'm trying to understand how reference counting works. The documentation says I must call
Z3_dec_ref
for every AST object once it's no longer needed. But if I just delete the context withZ3_del_context
, will that also free up the memory for the AST objects?Beta Was this translation helpful? Give feedback.
All reactions