Base: use Python's weak reference mechanism to avoid memory leaks due to cyclic dependencies

This commit is contained in:
wmayer
2021-04-23 11:02:19 +02:00
parent ef4f74aa94
commit 56fb65de62
2 changed files with 125 additions and 5 deletions

View File

@@ -345,6 +345,9 @@ protected:
/// pointer to the handled class
void * _pcTwinPointer;
public:
PyObject* baseProxy;
private:
PyObject* attrDict;
};