On Fri, Dec 10, 2010 at 2:42 PM, Stephan Beal <[email protected]> wrote: > If a non-JS-bound C++ class is calling > into v8 (without itself having been called from v8), then a HandleScope > might (might!) be useful to help GC.
It's not just a "might". It's required if you're going to create Local handles inside of that non-JS-bound C++ class before calling into V8. We do that all the time, and without the HandleScopes the calls to create Local handles crash. matt -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
