Re: [v8-users] Invalid Memory Allocation

2016-05-27 Thread joko suwito
Thank you Pada tanggal 26 Mei 2016 22:25, "Cesar Valdez" menulis: > Hi All, > > I working in a add-on for Node.js, and i have the following problem: > > class A { > > local CreateObject( callback) { > > if(!p->isEmpty()){ > auto tmp = Object::New(Isolate,

[v8-users] Invalid Memory Allocation

2016-05-26 Thread Cesar Valdez
Hi All, I working in a add-on for Node.js, and i have the following problem: class A { local CreateObject( callback) { if(!p->isEmpty()){ auto tmp = Object::New(Isolate, objTemplate); //get from cache. return tmp->newInstance(); //we have a template, create a