G.collectgarbage
From GMod Wiki
Revision as of 20:51, 11 November 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax |
collectgarbage( ) Where is this used? |
Description: | |
Forces a garbage collection. | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.collectgarbage]G.collectgarbage [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Calls the garbage collector every ten seconds. |
---|---|
Used on | |
Code | timer.Simple( 10, collectgarbage ) |
Output | N/A |