Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.5.2
Description
In code like this, it seems temporaries are dropped too early:
TestSbk.getInstance().getNewPointer().getValue()
And it results in an error:
Object created: 0x55b05aacc210 Traceback (most recent call last): File "/home/user/test/TestCascading.py", line 3, in <module> TestSbk.getInstance().getNewPointer().getValue() RuntimeError: Internal C++ object (TestSbkC_py.TestSbk) already deleted. Object destroyed: 0x55b05aacc210