Closed GoogleCodeExporter closed 9 years ago
You keep no reference to `new SurfAdjuster()` anywhere, so Java probably
garbage collects it at some point, which deallocates C++ memory while its at
it.. Let me know if keeping a reference somewhere solves this issue, and next
time please post your questions on the mailing list if possible, thank you
Original comment by samuel.a...@gmail.com
on 27 Dec 2011 at 9:31
Adding a SurfAdjuster variable to keep the reference solved the problem, thank
you for the advice!
Sorry about not posting the problem on the mailing list first, I'll definitely
use it next time if necessary.
Thanks again for your availability,
Best regards,
Allan
Original comment by satto...@gmail.com
on 27 Dec 2011 at 12:20
Nice! Thanks
Original comment by samuel.a...@gmail.com
on 29 Dec 2011 at 10:10
Original issue reported on code.google.com by
satto...@gmail.com
on 23 Dec 2011 at 5:24