mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Call JS_GC instead of js_GC within JS_MaybeGC. Thanks to
A. Hodgkinson <ahodgkin@acorn.co.uk> for finding this (and to chouck for checking it in to js/ref/jsapi.c.)
This commit is contained in:
parent
16ebcb630d
commit
43f5474e6a
@ -814,7 +814,7 @@ JS_MaybeGC(JSContext *cx)
|
||||
bytes = rt->gcBytes;
|
||||
lastBytes = rt->gcLastBytes;
|
||||
if (bytes > 8192 && bytes > lastBytes + lastBytes / 2)
|
||||
js_GC(cx);
|
||||
JS_GC(cx);
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(JSGCCallback)
|
||||
|
Loading…
Reference in New Issue
Block a user