Keep a reference to python function object in wrapped lambda
* This will rarely be relevant, but it ensures if the function is decref'd and the lambda is still alive, that we keep the python object alive until we are done with it. The primary case for this is persistent callbacks where the module is then reloaded.
Loading
Please register or sign in to comment