v8-tutorials icon indicating copy to clipboard operation
v8-tutorials copied to clipboard

"03 expose objects.cpp": Game object is new'ed but never delete'd

Open Quuxplusone opened this issue 10 years ago • 0 comments

The solution presumes involves something like MakeWeak... but what, exactly? Showing how to do memory management would make this example actually useful; as it is, I don't think anyone could extrapolate it into working production code, because it leaks memory.

Quuxplusone avatar Oct 28 '15 20:10 Quuxplusone