aboutsummaryrefslogtreecommitdiff
path: root/src/library_gc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_gc.js')
-rw-r--r--src/library_gc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gc.js b/src/library_gc.js
index 75cea390..ccf6656d 100644
--- a/src/library_gc.js
+++ b/src/library_gc.js
@@ -18,7 +18,7 @@ if (GC_SUPPORT) {
GC.initted = true;
#if GENERATING_HTML
setInterval(function() {
- GC.maybeGC();
+ GC.maybeCollect();
}, 1000);
#else
// No HTML intervals, so you need to call GC.maybeCollect() or GC.collect() manually