On Sun, Oct 12, 2008 at 12:29 PM, <[EMAIL PROTECTED]> wrote:
>
> I wish to use my global object, so I create a object before context is
> created, like as:
>
> Handle<Object> global = Object::New(); // ---------> CRASH, assert
> failed.
Do you have a HandleScope in effect when this is done?
HandleScope hscope;
Handle<Object> global = Object::New();
--
Bryan White
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---