Re: [v8-users] Sample(process.cc) add code crash

2019-03-07 Thread helloev
So here we don't need to release resources? If need to release it, what should we do? I saw the scope here: https://github.com/v8/v8/blob/4d39e3427824fafa35a6bfcdb23b05cd9c2db67d/samples/hello-world.cc#L37 I tried to do it like this and still failed. On Thursday, March 7, 2019 at 6:03:29 PM U

Re: [v8-users] Sample(process.cc) add code crash

2019-03-07 Thread helloev
March 8, 2019 at 2:46:26 AM UTC+8, Ben Noordhuis wrote: > > On Thu, Mar 7, 2019 at 2:39 PM helloev > wrote: > > So here we don't need to release resources? If need to release it, what > should we do? > > The process is terminating so any resources will

Re: [v8-users] Sample(process.cc) add code crash

2019-04-05 Thread helloev
full code: https://gitlab.com/snippets/1843803 On Friday, April 5, 2019 at 2:26:52 PM UTC+8, DaManuell wrote: > > Is there a crash is you suppress that global from your source? > > Le mardi 2 avril 2019 19:19:57 UTC+2, helloev a écrit : >> >> Global var >> &