Shall I delete the pointer manually in v8::External?

Viewed 674
Local<ObjectTemplate> tpl = ObjectTemplate::New(isolate);
tpl->SetInternalFieldCount(1);
Local<Object> ret = tpl->NewInstance();
TestExternal* ex = new TestExternal();
ret->SetInternalField(0, External::New(isolate, ex));

Shall I delete the ex pointer manually when ret is no longer in use?

Where's the evidence source code shows that I should or shouldn't do that?

2 Answers
Related