Re: Assertion failure on debug, what is wrong?
Boris Zbarsky <[email protected]> Mon, 29 Aug 2016 11:59:45 -0400
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On 8/29/16 10:13 AM, Mihai Dobrescu wrote: > But what if I need to make a class with a "global" member? Then you either use a PersistentRooted<JSObject*> member (if you want it to be a permanent GC root until the class instance is destroyed) or a Heap<JSObject*> and trace it if you want to participate in GC. -Boris