Re: [v8-users] Recovering a FunctionTemplate (or how to ->Inherit from one you've lost the handle to?)

2020-10-23 Thread Rodrigo Hernandez
Yeah, that sounds like needlessly complicating things even more. I'll just stash this problem for now since its already working. Thanks again! On Friday, October 23, 2020 at 12:16:09 AM UTC-6 boi...@gmail.com wrote: > I work with embedded V8, not with node, so some of that is french to me :) >

Re: [v8-users] Recovering a FunctionTemplate (or how to ->Inherit from one you've lost the handle to?)

2020-10-23 Thread Ben Ernst
I work with embedded V8, not with node, so some of that is french to me :) I tried storing FunctionTemplate in a Value and encountered the same error. If you're keeping the persistent handles in a global collection in any case, you might consider taking a raw pointer to the Persistent, and