ibelieve
07/09/2017, 9:19 PMtunedal
07/10/2017, 11:55 AMthis.myThing = wrappedLibrary.objectA.objectB.objectC.objectD.theThing when accessing a foreign object system from Kotlin, e.g. GObject, COM, Python, ...?
You would want all the intermediate wrapped objects (objectA, objectB, ...) destroyed as soon as possible (perhaps scoped to the block) but theThing to be left alive.