On Friday, 23 October 2020 at 13:23:18 UTC, Boris Carvajal wrote: > exit() is irrelevant, I checked the asm output. Ok, I guess GC.collect() is called after main() by the runtime then.