Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Async callback with custom object causes invalid reference counting handling #153
the following code makes RPyC 3.3.0 crash on my machine because of too early reference counting decrease.
Please note the following conditions:
After debugging the code and tracing the protocol, it seems that the callback function is requested to be deleted from the local objects dictionary on the client side,
Unfortunately, I haven't figured out where to fix the error.
I would assume that the delete request needs to be delayed until the callback finished. Note that the callback is asynchronous.
Thanks for any help,
Client side exception:
Protocol trace (seq id, msg id):