Currently we leak memory for objects (strings, managed objects) returned from delegates.
This can be observed in AnimalTests and TransformerTests.
One solution would be to assume on the managed side that we have to release any reference types that are given to us. Then we can just allocate on the native side and don't have to worry about releasing.
Currently we leak memory for objects (strings, managed objects) returned from delegates. This can be observed in
AnimalTests
andTransformerTests
.One solution would be to assume on the managed side that we have to release any reference types that are given to us. Then we can just allocate on the native side and don't have to worry about releasing.