Browse Source
This patch adds the gc_sweep_all() function which does a garbage collection without tracing any root pointers, so frees all the memory, and most importantly runs any remaining finalisers. This helps primarily for soft reset: it will close any open files, any open sockets, and help to get the system back to a clean state upon soft reset.pull/3831/merge
Damien George
7 years ago
2 changed files with 10 additions and 0 deletions
Loading…
Reference in new issue