pyduktape icon indicating copy to clipboard operation
pyduktape copied to clipboard

Cannot cleanup globals on a context

Open huubbouma opened this issue 9 years ago • 1 comments

It's not possible to clean all globals on a DuktapeContext. This improvement would help reusing an existing context instead of recreating a new context every time (which seems to lead to a memory leak, but this is something for another issue)

huubbouma avatar Sep 30 '16 09:09 huubbouma

The right approach here would be to throw away the old context and create a new one. In this case the memory leak prevents that. I will investigate what's causing the leak.

stefano avatar Jan 17 '17 07:01 stefano