Local<String> str = String::NewFromUtf8(isolate, "Hello", v8::NewStringType::kNormal)
.ToLocalChecked(); Local<Value> val = Local<Value>::Cast(str); Persistent<Value> persistentVal(isolate, val); persistentVal.Get(isolate)->IsString(); // seg fault
Local<Value> val = String::NewFromUtf8(isolate, "Hello", v8::NewStringType::kNormal)
.ToLocalChecked(); Persistent<Value> persistentVal(isolate, val); persistentVal.Get(isolate)->IsString(); // seg fault
--
--
v8-users mailing list
v8-u...@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-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/8a7a1a0e-bb0d-4044-8301-8bb9b7d01b2f%40googlegroups.com.