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
>>
>> On Tue, Apr 2, 2019 at 17:57 DaManuel
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
>
> On Tue, Apr 2, 2019 at 17:57 DaManuell >
> wrote:
>
>> What is gisolate?
>>
>>
>>
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.goog
Global var
On Tue, Apr 2, 2019 at 17:57 DaManuell wrote:
> What is gisolate?
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
What is gisolate?
--
--
v8-users mailing list
v8-users@googlegroups.com
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 v8
int main(int argc , char* argv[]) {
map options;
string file;
ParseOptions(argc , argv , &options , &file);
if (file.empty()) {
fprintf(stderr , "No script was specified.\n");
return 1;
}
// 初始化v8
v8::V8::InitializeICUDefaultLocation(argv[0]);
v8::V8::InitializeExternalStartupData(arg
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 be reclaimed anyway
but if you want to reclaim them manually, use proper scoping:
int main() {
// ...
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
On Wed, Mar 6, 2019 at 4:45 PM 滚开 wrote:
> i just add:
> ```
> isolate->Dispose();
> v8::V8::Dispose();
> v8::V8::ShutdownPlatform();
> delete create_params.array_buffer_allocator;
> ```
> after
> https://github.com/v8/v8/blob/4d39e3427824fafa35a6bfcdb23b05cd9c2db67d/samples/process.cc#L732
>
> i