浏览代码

Cleanups.

Mark Sibly 9 年之前
父节点
当前提交
09c5ab8754
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      modules/monkey/gc.monkey2

+ 10 - 0
modules/monkey/gc.monkey2

@@ -3,4 +3,14 @@ Namespace monkey.gc
 
 Extern
 
+#rem monkeydoc Performs a garbage collection.
+
+Marks all unused memory as 'garbage' and makes it available for reuse in the future.
+
+You should not generally need to use this method as garbage collection is performed automatically.
+
+However, it can be useful when debugging a program for memory leaks to force a garbage collection to
+run.
+
+#end
 Function GCCollect:Void()="bbGC::collect"