Skip to content

Confusion around intrusive reference counting #855

Answered by Ahajha
Ahajha asked this question in Q&A
Discussion options

You must be logged in to vote

The problem here ended up being in compile, we were using nb::rv_policy::take_ownership (not entirely sure why we were using it before). We removed that and let the default kick in, and it works now.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Ahajha
Comment options

Answer selected by Ahajha
@Ahajha
Comment options

@wjakob
Comment options

@Ahajha
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants