mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
don't always return a new handle for a constructor call. Reflect object in normal fashion.
This commit is contained in:
parent
f0ddef4412
commit
a3e9b1d0a4
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace {
|
|||
for (int i = 0; i < argc; i++) {
|
||||
argv[i] = args->Get(i);
|
||||
}
|
||||
return rr_v8_handle_new(rr_v8_object_class(), function->NewInstance(argc, argv));
|
||||
return rr_v82rb(function->NewInstance(argc, argv));
|
||||
}
|
||||
VALUE GetName(VALUE self) {
|
||||
HandleScope scope;
|
||||
|
|
Loading…
Add table
Reference in a new issue