Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't always return a new handle for a constructor call. Reflect obje…

…ct in normal fashion.
  • Loading branch information...
commit a3e9b1d0a43eb32595537571dec75f6c101b3240 1 parent f0ddef4
@cowboyd cowboyd authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/v8/v8_function.cpp
View
2  ext/v8/v8_function.cpp
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.