Comment #6 on issue 2111 by [email protected]:
Isolate::EnsureDefaultIsolate leak
http://code.google.com/p/v8/issues/detail?id=2111
I went ahead and did some digging on this tonight and made a few changes
that I pushed up to my fork on github: https://github.com/lentinic/v8
With those changes I no longer see any leaks with this program:
////////
#include <crtdbg.h>
#include <v8.h>
int main(int argc, char * argv[])
{
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
v8::V8::Initialize();
v8::V8::Dispose();
return 0;
}
////////
However, if I remove either the initialize or the dispose call then leaks.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev