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.
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.