SungchulCho / v8-juice

Automatically exported from code.google.com/p/v8-juice
Other
0 stars 0 forks source link

v8::juice::IncludeScript returns an unprotected handle #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Include a JavaScript file using v8::juice::IncludeScript()
2. Try to reference the returned value.

The expected output is the value of the last expression of the script file. 
Instead there is a segment 
violation from trying to access a dead object.

I've attached a diff that fixes the issue.

Original issue reported on code.google.com by robt...@gmail.com on 25 Apr 2009 at 7:40

Attachments:

GoogleCodeExporter commented 8 years ago
Thank for that! i don't know why i wasn't notified of your patch sooner. i'll 
get it
integrated this weekend :).

Original comment by sgbeal@googlemail.com on 29 Apr 2009 at 8:43

GoogleCodeExporter commented 8 years ago
Fixed in r639. Thanks again for the report and my apologies for having taken so 
long
to get it imported.

Original comment by sgbeal@googlemail.com on 27 May 2009 at 2:34