G.collectgarbage
From GMod Wiki
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 |