Skip to content

06_objects - assert when calling modulename.MyObject #2

@pconstr

Description

@pconstr

in 06_objects/run.js , if I change:

var obj = new modulename.MyObject(42);

to:

var obj = modulename.MyObject(42);

I get:

Assertion failed: (handle->InternalFieldCount() > 0), function Wrap, file ../src/node_object_wrap.h, line 62.

naturally, this is not the intended usage, but a Javascript error would be nicer than a c++ assertion failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions