Re: [nodejs] is my object being garbage collected within a native plugin

2012-04-07 Thread rhasson
I'll give that a try. Roy On Saturday, April 7, 2012 5:21:21 PM UTC-4, Ben Noordhuis wrote: > > On Sat, Apr 7, 2012 at 20:30, rhasson <> wrote: > > I'm creating a binding to a C++ library for NLP. You can see the basic > of > > it here: https://gist.github.com/2331101# > > > > My problem righ

Re: [nodejs] is my object being garbage collected within a native plugin

2012-04-07 Thread Ben Noordhuis
On Sat, Apr 7, 2012 at 20:30, rhasson wrote: > I'm creating a binding to a C++ library for NLP.  You can see the basic of > it here:   https://gist.github.com/2331101# > > My problem right now is, in Node when the user instantiates my object with > the "new" command, in C++ land I instantiate my m

[nodejs] is my object being garbage collected within a native plugin

2012-04-07 Thread rhasson
I'm creating a binding to a C++ library for NLP. You can see the basic of it here: https://gist.github.com/2331101# My problem right now is, in Node when the user instantiates my object with the "new" command, in C++ land I instantiate my module's object and then instantiate the Freeling NLP