To clean up your program's environment, not to run important tasks.
GCCollect, just like FlushMem, is not a guarantee that your memory will be deleted anyway. It doesn't tell the GC to collect redundant memory, it tells the GC to consider collecting redundant memory.
I think there should be an "OnEnd GCCollect" call in brl.appstub or brl.blitz.
GCCollect, just like FlushMem, is not a guarantee that your memory will be deleted anyway. It doesn't tell the GC to collect redundant memory, it tells the GC to consider collecting redundant memory.