funkaster/cxx-generator — pull request #32 by led42 (2013-03-12 13:01:20+00:00)
Title: Native objects were left allocated with no references by the finalise routine.

This way we make sure they're deleted on JS garbage collection.
When using script_control_cpp = yes.

Thread with the issue: https://github.com/funkaster/cxx-generator/pull/31#issuecomment-14772390