Hi there !
I would like to know if there is a way to force V8 to release ALL the objects in memory.
After I executed my script, I would like to free all memory that has been allocated during the script in the embedded object.
I already the "MakeWeak" mechanism and it works when V8 does a garbage collection. But if my script is like :
// begin
var wnd = new Window();
// end
The C++ object embedded in Window will never been destroyed, resulting of course memory leaks.
I've tried to do a v8::V8::Dispose() but it doesn't help.
Is there any way to totally clean up the memory without exiting my application ?
Best regards,
Florent
P.S: My application is under Windows 32b