On Tue, Oct 9, 2018 at 4:40 PM Mike Moening wrote:
> The example was helpful. Encapsulating the Persistent in the callacks
> private data object seems to be the way to roll.
>
>
>> // kParameter will pass a void* parameter back to the callback,
>> kInternalFields
>> // will pass the first two
The example was helpful. Encapsulating the Persistent in the callacks
private data object seems to be the way to roll.
> // kParameter will pass a void* parameter back to the callback,
> kInternalFields
> // will pass the first two internal fields back to the callback, kFinalizer
> // will
On Tue, Oct 9, 2018 at 11:45 AM Mike Moening wrote:
> With recent versions of v8 the SetWeak method has changed and the
> Persistent* parameter has been dropped from the destructor callback.
> The destructor callback function is **supposed** to Reset() the persistent
> or its a leak.
> If you
With recent versions of v8 the SetWeak method has changed and the
Persistent* parameter has been dropped from the destructor callback.
The destructor callback function is **supposed** to Reset() the persistent
or its a leak.
If you don't V8 crashes and tells you this:
Check failed: Handle not
I found a fix. See the bug comments for how to fix V8
--
--
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
I just found this:
https://bugs.chromium.org/p/v8/issues/detail?id=7670
I'm pretty sure that change broke my code.
How do I back this change out of current sources to get things working
again?
--
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
---
After upgrading to a newer version of V8 the constructorFunctionHandler I
set with SetCallAsFunctionHandler does not seem to be working. When I try
to execute the code below it produces this error:
TypeError: RemoteRequest is not a constructor
This sample code is unstructured and ugly, but it