Hi.
priorly, sorry for missed english knowledge.
i call "while(!V8::IdleNotification()) {};" after script run.
it fires weakcallbacks successfully.
but second and more calls not fire callbacks.
are you know why it is ?
Source:
v8::Isolate *isolate=Isolate::GetCurrent();
HandleScope handle_scope(isolate);
Local<Context> context = Context::New(isolate);
Context::Scope context_scope(context);
V8Manager::RegisterObjectCreateFunction(context,"TTestClass",TJSTestClass::Creator);
Script="var tmpObject=new TTestClass();\r\ntmpObject=null;";
ScriptResult=V8Manager::RunScript(Script.Value(),context );
V8Manager::CheckScriptRunResult(ScriptResult);
while(!V8::IdleNotification()) {}; //only fires weak callbacks, once.