collectAllGarbage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
|notes = This function exists for debugging purposes and for if a long operation is happening. It already gets invoked if a resource stops/starts/restarts. Normally you should allow the memory to be freed by GTAC internally, so this function shouldn't be used in public/production servers. | |||
}} | }} |
Latest revision as of 14:12, 21 December 2022
Function
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void collectAllGarbage(void)
The collectAllGarbage function is used to make all resources free all data which is no longer needed, to free memory.
Parameters
void | This function doesn't take any parameters. |
Return
void | This function doesn't return a value. |
Notes
- This function exists for debugging purposes and for if a long operation is happening. It already gets invoked if a resource stops/starts/restarts. Normally you should allow the memory to be freed by GTAC internally, so this function shouldn't be used in public/production servers.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Server Related
collectAllGarbage
Client Related
collectAllGarbage